Skip to content

Commit

Permalink
Merge pull request #11684 from nextcloud/backport/10782/stable14
Browse files Browse the repository at this point in the history
[stable14] in 14 the click action gets lost in the Backbone view.
  • Loading branch information
MorrisJobke authored Oct 9, 2018
2 parents 04460e2 + 2419ff4 commit 022a45f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions apps/systemtags/js/filesplugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
});
}
Expand Down
1 change: 0 additions & 1 deletion apps/systemtags/js/systemtagsinfoviewtoggleview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 022a45f

Please sign in to comment.