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 2013/11/22 17:09:38 UTC

git commit: updated refs/heads/master to 0216618

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 <de...@gmail.com>
Authored: Fri Nov 22 11:09:27 2013 -0500
Committer: suelockwood <de...@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');
       }