couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From garrensmith <...@git.apache.org>
Subject [GitHub] couchdb pull request: Fauxton: Fix error if anon. user tries to cr...
Date Thu, 06 Mar 2014 17:42:18 GMT
Github user garrensmith commented on a diff in the pull request:

    https://github.com/apache/couchdb/pull/167#discussion_r10351608
  
    --- Diff: src/fauxton/app/addons/auth/resources.js ---
    @@ -20,6 +20,18 @@ function (app, FauxtonAPI, CouchdbSession) {
     
       var Auth = new FauxtonAPI.addon();
     
    +  var promiseErrorHandler = function (xhr, type, msg) {
    +    msg = xhr;
    --- End diff --
    
    @kxepal, Sometimes the arguments passed to this function is just one that is a message.
So instead of doing an if else statemebt.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message