You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2014/05/19 18:17:21 UTC
[03/47] couchdb commit: updated refs/heads/Update-Sidebar-Ui to
c173e52
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 <ga...@gmail.com>
Authored: Mon Apr 21 17:31:19 2014 +0200
Committer: Garren Smith <ga...@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;
});