@esfaenza/extensions 11.2.25 → 11.2.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -304,7 +304,9 @@
304
304
  if (postSuccess === void 0) { postSuccess = null; }
305
305
  if (postFailure === void 0) { postFailure = null; }
306
306
  if (response.success) {
307
- if (successMsg)
307
+ if (response.haswarning)
308
+ this.simpleWarning(response.warning);
309
+ else if (successMsg)
308
310
  this.simpleSuccess(successMsg);
309
311
  if (postSuccess)
310
312
  postSuccess();
@@ -314,9 +316,6 @@
314
316
  if (postFailure)
315
317
  postFailure();
316
318
  }
317
- else if (response.haswarning) {
318
- this.simpleWarning(response.warning);
319
- }
320
319
  };
321
320
  /**
322
321
  * Metodo helper per gestire in maniera standardizzata una risposta di tipo **string**, considerando che: