We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 101b8d3 commit 1a013b4Copy full SHA for 1a013b4
app/code/core/Mage/Adminhtml/Block/System/Store/Edit.php
@@ -60,7 +60,9 @@ public function __construct()
60
61
$this->_updateButton('save', 'label', $saveLabel);
62
$this->_updateButton('delete', 'label', $deleteLabel);
63
- $this->_updateButton('delete', 'onclick', 'setLocation(\''.$deleteUrl.'\');');
+ $this->_updateButton('delete', 'onclick', 'confirmSetLocation(\'' .
64
+ Mage::helper('core')->jsQuoteEscape(Mage::helper('core')->__('Are you sure?')) .
65
+ '\', \'' . $deleteUrl . '\');');
66
67
if (!Mage::registry('store_data')->isCanDelete()) {
68
$this->_removeButton('delete');
0 commit comments