[
https://issues.apache.org/jira/browse/COUCHDB-2378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175593#comment-14175593
]
ASF GitHub Bot commented on COUCHDB-2378:
-----------------------------------------
Github user robertkowalski commented on a diff in the pull request:
https://github.com/apache/couchdb-fauxton/pull/104#discussion_r19045456
--- Diff: app/addons/documents/views-queryoptions.js ---
@@ -129,6 +131,9 @@ define([
return;
}
+ // make sure we can not submit twice which results in chaos (and
no result ever)
+ $("#query-options-tray button[type=\"submit\"]").attr("disabled",
"disabled");
+
--- End diff --
You can also use ``this.$('#query-options-tray button[type="submit"]')` here
> TypeError: this.viewMeta is undefined
> -------------------------------------
>
> Key: COUCHDB-2378
> URL: https://issues.apache.org/jira/browse/COUCHDB-2378
> Project: CouchDB
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: Fauxton
> Reporter: Alexander Shorin
>
> 1. Navigate to any database with a view
> 2. Select a view
> 3. Open "Query Options"
> 4. Double click on "Query" button
> You'll see infinity spinner and the error in console:
> {code}
> TypeError: this.viewMeta is undefined
> http://localhost:8000/addons/documents/resources.js:461
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)