diff options
author | sgiehl <stefan@piwik.org> | 2016-09-13 08:53:41 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2016-09-13 08:53:41 +0300 |
commit | 378e8d7d94401bd4cf77250bc17fee5edf6f99fb (patch) | |
tree | 64e0a55e01f634cf8bec8ec6e1ce97d0fd481a2e /plugins/SegmentEditor/javascripts | |
parent | 24d6f8cc2f35aa27f3c8ea55b7e459507b83be90 (diff) |
fixes #10479 use id attribute to remove segment dialog
Diffstat (limited to 'plugins/SegmentEditor/javascripts')
-rw-r--r-- | plugins/SegmentEditor/javascripts/Segmentation.js | 4 |
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); } |