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:
Arthur Schiwon 2018-08-21 16:28:37 +02:00
parent eba447987c
commit 21457fc9bd
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
2 changed files with 2 additions and 3 deletions

View File

@ -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;
}
});
}

View File

@ -62,7 +62,6 @@
* references the SystemTagsInfoView to associate to this toggle view.
*/
initialize: function(options) {
var self = this;
options = options || {};
this._systemTagsInfoView = options.systemTagsInfoView;