diff --git a/app/code/core/Mage/Customer/controllers/AddressController.php b/app/code/core/Mage/Customer/controllers/AddressController.php index 0493cbff974..f8ae1efb3fe 100644 --- a/app/code/core/Mage/Customer/controllers/AddressController.php +++ b/app/code/core/Mage/Customer/controllers/AddressController.php @@ -151,9 +151,11 @@ public function formPostAction() $this->_getSession()->setAddressFormData($this->getRequest()->getPost()) ->addException($e, $this->__('Cannot save address.')); } + + return $this->_redirectError(Mage::getUrl('*/*/edit', ['id' => $address->getId()])); } - return $this->_redirectError(Mage::getUrl('*/*/edit', ['id' => $address->getId()])); + $this->_redirectReferer(); } /** diff --git a/app/design/adminhtml/default/default/template/catalog/product/attribute/set/main.phtml b/app/design/adminhtml/default/default/template/catalog/product/attribute/set/main.phtml index 924eb99e5c0..5719cfb21c4 100644 --- a/app/design/adminhtml/default/default/template/catalog/product/attribute/set/main.phtml +++ b/app/design/adminhtml/default/default/template/catalog/product/attribute/set/main.phtml @@ -60,7 +60,7 @@ -
+