Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-10-09 16:32:16 +0300
committerGitHub <noreply@github.com>2018-10-09 16:32:16 +0300
commit121edc9cfd9e3b96d9b75785f2320be534c8f7d2 (patch)
tree30a5bb8c6cc84e740d169a071fa6a42135117e07
parent022a45faeda896f456414ca9a2a937ba6d3d579d (diff)
parent6957e1f39c68886b15b6b62ca45c89282ab94e7d (diff)
Merge pull request #11720 from nextcloud/revert-11684-backport/10782/stable14
Revert "[stable14] in 14 the click action gets lost in the Backbone view."
-rw-r--r--apps/systemtags/js/filesplugin.js4
-rw-r--r--apps/systemtags/js/systemtagsinfoviewtoggleview.js1
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 fabff56d031..13a48e49cfb 100644
--- a/apps/systemtags/js/systemtagsinfoviewtoggleview.js
+++ b/apps/systemtags/js/systemtagsinfoviewtoggleview.js
@@ -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;