diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-10-09 15:33:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-09 15:33:10 +0200 |
commit | 031add6acc2082c59b1841a1152fc9df3ca914f8 (patch) | |
tree | a10c3e6f05eb960dd0ecef34e44513c515e3dd03 | |
parent | 877823eb9dc08f0675bb1183d35cbb1918348712 (diff) | |
parent | ddfc3627796a7ea4db0fe89106f65eb996d9ebb6 (diff) | |
download | nextcloud-server-031add6acc2082c59b1841a1152fc9df3ca914f8.tar.gz nextcloud-server-031add6acc2082c59b1841a1152fc9df3ca914f8.zip |
Merge pull request #11721 from nextcloud/revert-10782-fix/10774/deadtagaction
Revert "in 14 the click action gets lost in the Backbone view."
-rw-r--r-- | apps/systemtags/js/filesplugin.js | 4 | ||||
-rw-r--r-- | 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 ca706775121..fc2a227b5be 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 ec9ac1a216b..a3261e7994d 100644 --- a/apps/systemtags/js/systemtagsinfoviewtoggleview.js +++ b/apps/systemtags/js/systemtagsinfoviewtoggleview.js @@ -56,6 +56,7 @@ * references the SystemTagsInfoView to associate to this toggle view. */ initialize: function(options) { + var self = this; options = options || {}; this._systemTagsInfoView = options.systemTagsInfoView; |