]> source.dussan.org Git - nextcloud-server.git/commitdiff
Revert "[stable14] in 14 the click action gets lost in the Backbone view." 11720/head
authorMorris Jobke <hey@morrisjobke.de>
Tue, 9 Oct 2018 13:32:07 +0000 (15:32 +0200)
committerGitHub <noreply@github.com>
Tue, 9 Oct 2018 13:32:07 +0000 (15:32 +0200)
apps/systemtags/js/filesplugin.js
apps/systemtags/js/systemtagsinfoviewtoggleview.js

index ca706775121050dd109b8348627424d1f5c46b3e..fc2a227b5be4232ef201fa7971610d6488e13e6e 100644 (file)
                                                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;
                                }
                        });
                }
index fabff56d03134119f87d3414334feed7de333bcf..13a48e49cfb0716a6bf43d2b7629a125e88df78e 100644 (file)
@@ -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;