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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2020-05-06 10:24:46 +0300
committerGitHub <noreply@github.com>2020-05-06 10:24:46 +0300
commitbe92d82ab3b046cf366908db0d33c1675b531e2d (patch)
tree99e88193543741fa5da651f2c6734e49e5b36637 /plugins/CoreHome/javascripts
parent474bd825e8c0a982d82ef2f8569a65a3a12288f5 (diff)
ensure row actions are only bound once (#15914)
Diffstat (limited to 'plugins/CoreHome/javascripts')
-rw-r--r--plugins/CoreHome/javascripts/dataTable_rowactions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreHome/javascripts/dataTable_rowactions.js b/plugins/CoreHome/javascripts/dataTable_rowactions.js
index a7272ad236..3481e28b7b 100644
--- a/plugins/CoreHome/javascripts/dataTable_rowactions.js
+++ b/plugins/CoreHome/javascripts/dataTable_rowactions.js
@@ -143,7 +143,7 @@ DataTable_RowAction.prototype.initTr = function (tr) {
// for multi-row evolution) wouldn't be possible. Also, sub-tables might have different
// API actions. For the label filter to work, we need to use the parent action.
// We use jQuery events to let subtables access their parents.
- tr.bind(self.trEventName, function (e, params) {
+ tr.unbind(self.trEventName).bind(self.trEventName, function (e, params) {
self.trigger($(this), params.originalEvent, params.label, params.originalRow);
});
};