Fix for automatic group=true in Futon
22 July 2009
22:28
as Diff
| 1 | Index: share/www/script/futon.browse.js |
|---|---|
| 2 | =================================================================== |
| 3 | --- share/www/script/futon.browse.js (revision 796895) |
| 4 | +++ share/www/script/futon.browse.js (working copy) |
| 5 | @@ -185,6 +185,7 @@ |
| 6 | .bind("textInput", updateDirtyState); |
| 7 | } |
| 8 | $("#language").change(updateDirtyState); |
| 9 | + page.updateDocumentListing(); |
| 10 | }); |
| 11 | $("#grouptruenotice").show(); |
| 12 | } else if (viewName == "_temp_view") { |
| 13 | Index: share/www/database.html |
| 14 | =================================================================== |
| 15 | --- share/www/database.html (revision 796635) |
| 16 | +++ share/www/database.html (working copy) |
| 17 | @@ -78,9 +78,7 @@ |
| 18 | |
| 19 | page.populateViewsMenu(); |
| 20 | page.populateViewEditor(); |
| 21 | - if (!page.isTempView) { |
| 22 | - page.updateDocumentListing(); |
| 23 | - } else { |
| 24 | + if (page.isTempView) { |
| 25 | $("#viewcode").show().removeClass("collapsed").find("textarea")[0].focus(); |
| 26 | $("#documents").hide(); |
| 27 | } |
Comments
No comments so far.
