File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Catalog/view/adminhtml/templates/catalog/wysiwyg
Customer/Controller/Account Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ var catalogWysiwygEditor = {
65
65
}
66
66
});
67
67
}
68
+ this.modal.modal("option", "firedElementId", elementId);
68
69
this.modal.modal('openModal');
69
70
$(elementId + '_editor').value = $(elementId).value;
70
71
},
Original file line number Diff line number Diff line change @@ -106,10 +106,7 @@ public function execute()
106
106
} catch (InputException $ e ) {
107
107
$ this ->messageManager ->addException ($ e , __ ('Invalid input ' ));
108
108
} 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. ' ));
113
110
}
114
111
115
112
if ($ this ->messageManager ->getMessages ()->getCount () > 0 ) {
You can’t perform that action at this time.
0 commit comments