in 14 the click action gets lost in the Backbone view.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
eba447987c
commit
21457fc9bd
|
@ -49,10 +49,10 @@
|
||||||
systemTagsInfoViewToggleView.$el.detach();
|
systemTagsInfoViewToggleView.$el.detach();
|
||||||
});
|
});
|
||||||
systemTagsInfoViewToggleView.listenTo(detailView, 'post-render', function() {
|
systemTagsInfoViewToggleView.listenTo(detailView, 'post-render', function() {
|
||||||
|
var clicker = _.bind(systemTagsInfoViewToggleView.click, systemTagsInfoViewToggleView);
|
||||||
|
systemTagsInfoViewToggleView.$el.click(clicker);
|
||||||
detailView.$el.find('.file-details').append(systemTagsInfoViewToggleView.$el);
|
detailView.$el.find('.file-details').append(systemTagsInfoViewToggleView.$el);
|
||||||
});
|
});
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -62,7 +62,6 @@
|
||||||
* references the SystemTagsInfoView to associate to this toggle view.
|
* references the SystemTagsInfoView to associate to this toggle view.
|
||||||
*/
|
*/
|
||||||
initialize: function(options) {
|
initialize: function(options) {
|
||||||
var self = this;
|
|
||||||
options = options || {};
|
options = options || {};
|
||||||
|
|
||||||
this._systemTagsInfoView = options.systemTagsInfoView;
|
this._systemTagsInfoView = options.systemTagsInfoView;
|
||||||
|
|
Loading…
Reference in New Issue