Skip to content

Commit

Permalink
Merge pull request #11720 from nextcloud/revert-11684-backport/10782/…
Browse files Browse the repository at this point in the history
…stable14

Revert "[stable14] in 14 the click action gets lost in the Backbone view."
  • Loading branch information
MorrisJobke authored Oct 9, 2018
2 parents 022a45f + 6957e1f commit 121edc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: 1 addition & 0 deletions apps/systemtags/js/systemtagsinfoviewtoggleview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 121edc9

Please sign in to comment.