couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathb...@apache.org
Subject git commit: updated refs/heads/master to 0216618
Date Fri, 22 Nov 2013 16:09:38 GMT
Updated Branches:
  refs/heads/master aefd60e89 -> 0216618cb


Fix issue with Ace editor and wrap not working properly with "toggle slow"


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

Branch: refs/heads/master
Commit: 0216618cbf0b55cd5c60fddc83c07d610603752b
Parents: aefd60e
Author: suelockwood <deathbearbrown@gmail.com>
Authored: Fri Nov 22 11:09:27 2013 -0500
Committer: suelockwood <deathbearbrown@gmail.com>
Committed: Fri Nov 22 11:09:27 2013 -0500

----------------------------------------------------------------------
 src/fauxton/app/modules/documents/views.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/0216618c/src/fauxton/app/modules/documents/views.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/modules/documents/views.js b/src/fauxton/app/modules/documents/views.js
index 56ce9c6..39e210d 100644
--- a/src/fauxton/app/modules/documents/views.js
+++ b/src/fauxton/app/modules/documents/views.js
@@ -1413,9 +1413,10 @@ function(app, FauxtonAPI, Components, Documents, pouchdb, resizeColumns)
{
 
       if ($targetId === 'index-nav') {
         if (this.newView) { return; }
-        $index.toggle('slow');
         var that = this;
-        setTimeout(function(){that.showEditors();},100);
+        $index.toggle('slow', function(){
+           that.showEditors();
+        });
       } else {
         $index.removeAttr('style');
       }


Mime
View raw message