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:
authorsgiehl <stefan@piwik.org>2016-09-13 08:53:41 +0300
committersgiehl <stefan@piwik.org>2016-09-13 08:53:41 +0300
commit378e8d7d94401bd4cf77250bc17fee5edf6f99fb (patch)
tree64e0a55e01f634cf8bec8ec6e1ce97d0fd481a2e /plugins/SegmentEditor/javascripts
parent24d6f8cc2f35aa27f3c8ea55b7e459507b83be90 (diff)
fixes #10479 use id attribute to remove segment dialog
Diffstat (limited to 'plugins/SegmentEditor/javascripts')
-rw-r--r--plugins/SegmentEditor/javascripts/Segmentation.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SegmentEditor/javascripts/Segmentation.js b/plugins/SegmentEditor/javascripts/Segmentation.js
index 59340ac4a7..812daeb2e1 100644
--- a/plugins/SegmentEditor/javascripts/Segmentation.js
+++ b/plugins/SegmentEditor/javascripts/Segmentation.js
@@ -677,9 +677,9 @@ Segmentation = (function($) {
var params = {
"idsegment" : segmentId
};
- $('.segment-delete-confirm', self.target).find('#name').text( segmentName );
+ $('#segment-delete-confirm').find('#name').text( segmentName );
if(segmentId != ""){
- piwikHelper.modalConfirm(self.target.find('.segment-delete-confirm'), {
+ piwikHelper.modalConfirm($('#segment-delete-confirm'), {
yes: function(){
self.deleteMethod(params);
}