Revert "[stable14] in 14 the click action gets lost in the Backbone view."
This commit is contained in:
parent
022a45faed
commit
6957e1f39c
|
@ -49,10 +49,10 @@
|
|||
systemTagsInfoViewToggleView.$el.detach();
|
||||
});
|
||||
systemTagsInfoViewToggleView.listenTo(detailView, 'post-render', function() {
|
||||
var clicker = _.bind(systemTagsInfoViewToggleView.click, systemTagsInfoViewToggleView);
|
||||
systemTagsInfoViewToggleView.$el.click(clicker);
|
||||
detailView.$el.find('.file-details').append(systemTagsInfoViewToggleView.$el);
|
||||
});
|
||||
|
||||
return;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
* references the SystemTagsInfoView to associate to this toggle view.
|
||||
*/
|
||||
initialize: function(options) {
|
||||
var self = this;
|
||||
options = options || {};
|
||||
|
||||
this._systemTagsInfoView = options.systemTagsInfoView;
|
||||
|
|
Loading…
Reference in New Issue