Fix, prevent multiple error reporting modals
See: fa303ee292
Seee: #14359
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
e889aea9e1
commit
27f7b7a75f
@ -15,6 +15,10 @@ var ErrorReport = {
|
||||
* @return void
|
||||
*/
|
||||
error_handler: function (exception) {
|
||||
// issue: 14359
|
||||
if (JSON.stringify(ErrorReport._last_exception) === JSON.stringify(exception)) {
|
||||
return;
|
||||
}
|
||||
if (exception.name === null || typeof(exception.name) === 'undefined') {
|
||||
exception.name = ErrorReport._extractExceptionName(exception);
|
||||
}
|
||||
|
||||
@ -5049,7 +5049,7 @@ function configSet (key, value, only_local) {
|
||||
success: function (data) {
|
||||
// Updating value in local storage.
|
||||
if (! data.success) {
|
||||
if(data.error) {
|
||||
if (data.error) {
|
||||
PMA_ajaxShowMessage(data.error);
|
||||
} else {
|
||||
PMA_ajaxShowMessage(data.message);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user