Skip to content

Commit 031add6

Browse files
authored
Merge pull request #11721 from nextcloud/revert-10782-fix/10774/deadtagaction
Revert "in 14 the click action gets lost in the Backbone view."
2 parents 877823e + ddfc362 commit 031add6

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

apps/systemtags/js/filesplugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@
4949
systemTagsInfoViewToggleView.$el.detach();
5050
});
5151
systemTagsInfoViewToggleView.listenTo(detailView, 'post-render', function() {
52-
var clicker = _.bind(systemTagsInfoViewToggleView.click, systemTagsInfoViewToggleView);
53-
systemTagsInfoViewToggleView.$el.click(clicker);
5452
detailView.$el.find('.file-details').append(systemTagsInfoViewToggleView.$el);
5553
});
54+
55+
return;
5656
}
5757
});
5858
}

apps/systemtags/js/systemtagsinfoviewtoggleview.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
* references the SystemTagsInfoView to associate to this toggle view.
5757
*/
5858
initialize: function(options) {
59+
var self = this;
5960
options = options || {};
6061

6162
this._systemTagsInfoView = options.systemTagsInfoView;

0 commit comments

Comments
 (0)