couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [03/47] couchdb commit: updated refs/heads/Update-Sidebar-Ui to c173e52
Date Mon, 19 May 2014 16:17:21 GMT
Fauxton: resizeColumns fires event on resize


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

Branch: refs/heads/Update-Sidebar-Ui
Commit: 029cec5496a132f0079720e6a38d44ded1d4d68f
Parents: e348d4f
Author: Garren Smith <garren.smith@gmail.com>
Authored: Mon Apr 21 17:31:19 2014 +0200
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Mon Apr 21 17:31:43 2014 +0200

----------------------------------------------------------------------
 src/fauxton/app/addons/fauxton/resizeColumns.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/029cec54/src/fauxton/app/addons/fauxton/resizeColumns.js
----------------------------------------------------------------------
diff --git a/src/fauxton/app/addons/fauxton/resizeColumns.js b/src/fauxton/app/addons/fauxton/resizeColumns.js
index b081580..1cdaca8 100644
--- a/src/fauxton/app/addons/fauxton/resizeColumns.js
+++ b/src/fauxton/app/addons/fauxton/resizeColumns.js
@@ -81,8 +81,11 @@ function(FauxtonAPI) {
       if(this.options.callback) {
         this.options.callback();
       }
+      this.trigger('resize');
     } 
   };
 
+  _.extend(Resize.prototype, Backbone.Events);
+
   return Resize;
 });


Mime
View raw message