diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/www/database.html | 4 | ||||
-rw-r--r-- | share/www/script/futon.browse.js | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/share/www/database.html b/share/www/database.html index 9b22cf76..4d07abca 100644 --- a/share/www/database.html +++ b/share/www/database.html @@ -78,9 +78,7 @@ specific language governing permissions and limitations under the License. page.populateViewsMenu(); page.populateViewEditor(); - if (!page.isTempView) { - page.updateDocumentListing(); - } else { + if (page.isTempView) { $("#viewcode").show().removeClass("collapsed").find("textarea")[0].focus(); $("#documents").hide(); } diff --git a/share/www/script/futon.browse.js b/share/www/script/futon.browse.js index 6c7c6719..29c0d86a 100644 --- a/share/www/script/futon.browse.js +++ b/share/www/script/futon.browse.js @@ -185,6 +185,7 @@ .bind("textInput", updateDirtyState); } $("#language").change(updateDirtyState); + page.updateDocumentListing(); }); $("#grouptruenotice").show(); } else if (viewName == "_temp_view") { @@ -194,6 +195,8 @@ $.cookies.get(db.name + ".reduce", "") ); $("#grouptruenotice").show(); + } else { + page.updateDocumentListing(); } page.populateLanguagesMenu(); if (this.isTempView) { |