You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by de...@apache.org on 2014/08/19 20:33:10 UTC

fauxton commit: updated refs/heads/secondary-indexes to ace9c91

Repository: couchdb-fauxton
Updated Branches:
  refs/heads/secondary-indexes b751202af -> ace9c917a


error and comment clean up. All errors will be shown in the global section


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/ace9c917
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/ace9c917
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/ace9c917

Branch: refs/heads/secondary-indexes
Commit: ace9c917a7926264107d2b7561b9873a9ea2c9b8
Parents: b751202
Author: deathbearbrown <de...@gmail.com>
Authored: Tue Aug 19 14:33:08 2014 -0400
Committer: deathbearbrown <de...@gmail.com>
Committed: Tue Aug 19 14:33:08 2014 -0400

----------------------------------------------------------------------
 app/addons/documents/views.js | 6 ------
 app/addons/indexes/views.js   | 4 ----
 2 files changed, 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/ace9c917/app/addons/documents/views.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/views.js b/app/addons/documents/views.js
index 4dcc2ac..069334c 100644
--- a/app/addons/documents/views.js
+++ b/app/addons/documents/views.js
@@ -131,21 +131,15 @@ function(app, FauxtonAPI, Components, Documents, Databases, Views, QueryOptions,
 
       if (_.any(errorParams)) {
         _.map(errorParams, function(param) {
-
-          // TODO: Where to add this error?
-          // bootstrap wants the error on a control-group div, but we're not using that
-          //$('form.view-query-update input[name='+param+'], form.view-query-update select[name='+param+']').addClass('error');
           return FauxtonAPI.addNotification({
             msg: "JSON Parse Error on field: "+param.name,
             type: "error",
-            selector: ".advanced-options .errors-container",
             clear:  true
           });
         });
         FauxtonAPI.addNotification({
           msg: "Make sure that strings are properly quoted and any other values are valid JSON structures",
           type: "warning",
-          selector: ".advanced-options .errors-container",
           clear:  true
         });
 

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/ace9c917/app/addons/indexes/views.js
----------------------------------------------------------------------
diff --git a/app/addons/indexes/views.js b/app/addons/indexes/views.js
index a3e7c1c..b68b32b 100644
--- a/app/addons/indexes/views.js
+++ b/app/addons/indexes/views.js
@@ -86,10 +86,6 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb,
 
        if (_.any(errorParams)) {
          _.map(errorParams, function(param) {
-
-           // TODO: Where to add this error?
-           // bootstrap wants the error on a control-group div, but we're not using that
-           //$('form.view-query-update input[name='+param+'], form.view-query-update select[name='+param+']').addClass('error');
            return FauxtonAPI.addNotification({
              msg: "JSON Parse Error on field: "+param.name,
              type: "error",