Skip to content

Commit dab474f

Browse files
author
Sergey Shvets
committed
Merge branch '2.0.16-develop' of github.com:magento/magento2ce into MAGETWO-66604
2 parents f841bef + ff9e35a commit dab474f

File tree

2 files changed

+2
-4
lines changed
  • app/code/Magento

2 files changed

+2
-4
lines changed

app/code/Magento/Catalog/view/adminhtml/templates/catalog/wysiwyg/js.phtml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ var catalogWysiwygEditor = {
6565
}
6666
});
6767
}
68+
this.modal.modal("option", "firedElementId", elementId);
6869
this.modal.modal('openModal');
6970
$(elementId + '_editor').value = $(elementId).value;
7071
},

app/code/Magento/Customer/Controller/Account/EditPost.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,7 @@ public function execute()
106106
} catch (InputException $e) {
107107
$this->messageManager->addException($e, __('Invalid input'));
108108
} catch (\Exception $e) {
109-
$message = __('We can\'t save the customer.')
110-
. $e->getMessage()
111-
. '<pre>' . $e->getTraceAsString() . '</pre>';
112-
$this->messageManager->addException($e, $message);
109+
$this->messageManager->addException($e, __('We can\'t save the customer.'));
113110
}
114111

115112
if ($this->messageManager->getMessages()->getCount() > 0) {

0 commit comments

Comments
 (0)