From 6957e1f39c68886b15b6b62ca45c89282ab94e7d Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 9 Oct 2018 15:32:07 +0200 Subject: [PATCH] Revert "[stable14] in 14 the click action gets lost in the Backbone view." --- apps/systemtags/js/filesplugin.js | 4 ++-- apps/systemtags/js/systemtagsinfoviewtoggleview.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/systemtags/js/filesplugin.js b/apps/systemtags/js/filesplugin.js index ca70677512..fc2a227b5b 100644 --- a/apps/systemtags/js/filesplugin.js +++ b/apps/systemtags/js/filesplugin.js @@ -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; } }); } diff --git a/apps/systemtags/js/systemtagsinfoviewtoggleview.js b/apps/systemtags/js/systemtagsinfoviewtoggleview.js index fabff56d03..13a48e49cf 100644 --- a/apps/systemtags/js/systemtagsinfoviewtoggleview.js +++ b/apps/systemtags/js/systemtagsinfoviewtoggleview.js @@ -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;