git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
33cb432
)
respond to change events
author
Scott Baker
<smbaker@gmail.com>
Tue, 15 Jul 2014 01:10:09 +0000
(18:10 -0700)
committer
Scott Baker
<smbaker@gmail.com>
Tue, 15 Jul 2014 01:10:09 +0000
(18:10 -0700)
planetstack/core/xoslib/static/js/xosDeveloper.js
patch
|
blob
|
history
diff --git
a/planetstack/core/xoslib/static/js/xosDeveloper.js
b/planetstack/core/xoslib/static/js/xosDeveloper.js
index
99641c3
..
9063518
100644
(file)
--- a/
planetstack/core/xoslib/static/js/xosDeveloper.js
+++ b/
planetstack/core/xoslib/static/js/xosDeveloper.js
@@
-19,6
+19,10
@@
DeveloperApp.SliceListView = Marionette.CompositeView.extend({
\r
events: {"click .sort": "changeSort"},
\r
\r
+ initialize: function() {
\r
+ this.listenTo(this.collection, 'change', this._renderChildren);
\r
+ },
\r
+
\r
changeSort: function(e) {
\r
parts=$(e.currentTarget).attr("id").split('-');
\r
order=parts[1];
\r