diff options
author | Christopher Lenz <cmlenz@apache.org> | 2008-12-05 17:16:09 +0000 |
---|---|---|
committer | Christopher Lenz <cmlenz@apache.org> | 2008-12-05 17:16:09 +0000 |
commit | 8205d358f94c80659f8fd887c2395d265688a718 (patch) | |
tree | 4ab40a32e9e8fd1341d617cfdf7701b793e061a0 /share/www/browse | |
parent | c1b6b981be10a2ef942e6b06bfc56c67c0057dcb (diff) |
Don't automatically execute temp view in Futon when the page is loaded, but rather defer until the Run button is clicked.
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@723793 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/browse')
-rw-r--r-- | share/www/browse/database.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/share/www/browse/database.html b/share/www/browse/database.html index fe17a47b..f1f25e9e 100644 --- a/share/www/browse/database.html +++ b/share/www/browse/database.html @@ -79,7 +79,12 @@ specific language governing permissions and limitations under the License. page.populateViewsMenu(); page.populateViewEditor(); - page.updateDocumentListing(); + if (!page.isTempView) { + page.updateDocumentListing(); + } else { + $("#viewcode").show().removeClass("collapsed").find("textarea")[0].focus(); + $("#documents").hide(); + } $("#switch select").change(function() { var viewName = $(this).val(); |