couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From benkeen <...@git.apache.org>
Subject [GitHub] couchdb-fauxton pull request: 2370-small-style-fixes
Date Mon, 13 Oct 2014 16:29:50 GMT
Github user benkeen commented on a diff in the pull request:

    https://github.com/apache/couchdb-fauxton/pull/92#discussion_r18779264
  
    --- Diff: app/addons/config/views.js ---
    @@ -166,6 +166,12 @@ function(app, FauxtonAPI, Config, Components) {
           this.sourceArray = _.map(this.collection.toJSON(), function (item, key) {
             return item.section;
           });
    +
    +      // focus on the first field when it's shown
    +      var self = this;
    +      this.$el.on('shown', function () {
    +        self.$('form :input:enabled:visible:first').focus();
    --- End diff --
    
    Ooh, very nice! Will that trigger every time the modal opens? 


---
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