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:33:01 +0300
committerGitHub <noreply@github.com>2018-10-09 16:33:01 +0300
commitddfc3627796a7ea4db0fe89106f65eb996d9ebb6 (patch)
treea10c3e6f05eb960dd0ecef34e44513c515e3dd03 /apps/systemtags
parent877823eb9dc08f0675bb1183d35cbb1918348712 (diff)
Revert "in 14 the click action gets lost in the Backbone view."
Diffstat (limited to 'apps/systemtags')
-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 ec9ac1a216b..a3261e7994d 100644
--- a/apps/systemtags/js/systemtagsinfoviewtoggleview.js
+++ b/apps/systemtags/js/systemtagsinfoviewtoggleview.js
@@ -56,6 +56,7 @@
* references the SystemTagsInfoView to associate to this toggle view.
*/
initialize: function(options) {
+ var self = this;
options = options || {};
this._systemTagsInfoView = options.systemTagsInfoView;