Skip to content

Commit

Permalink
fix the Futon issue where you have to cancel the admin dialog box aft…
Browse files Browse the repository at this point in the history
…er putting back admins that were removed to run the tests

git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@957808 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
jchris committed Jun 25, 2010
1 parent 6d88c8c commit cc40f62
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion share/www/script/futon.js
Expand Up @@ -87,7 +87,11 @@ function $$(node) {
return;
}
doSignup(data.name, null, function(errors) {
callback(errors);
if (errors && errors.name && errors.name.indexOf && errors.name.indexOf("taken") == -1) {
callback(errors);
} else {
callback();
}
}, false);
});
}
Expand Down

0 comments on commit cc40f62

Please sign in to comment.