@@ -533,15 +533,15 @@ API - Library - Modal
533
533
*******************************************************************************/
534
534
api . modal = { } ;
535
535
536
- /**
537
- * Pop a Confirm Modal in Bootstrap
538
- * @param {* } pMessage
539
- * @param {* } pCallbackMethod
540
- * @param {* } pCallbackParams
541
- * @param {* } pIconType
542
- * @param {* } pShowCancelMessageType
543
- * @param {* } pCancelMessage
544
- */
536
+ /**
537
+ * Pop a Confirm Modal in Bootstrap
538
+ * @param {* } pMessage
539
+ * @param {* } pCallbackMethod
540
+ * @param {* } pCallbackParams
541
+ * @param {* } pIconType
542
+ * @param {* } pShowCancelMessageType
543
+ * @param {* } pCancelMessage
544
+ */
545
545
api . modal . confirm = function ( pMessage , pCallbackMethod , pCallbackParams , pIconType , pShowCancelMessageDialogType , pCancelMessage ) {
546
546
// Set the body of the Modal - Empty the container first
547
547
var msgObj ;
@@ -670,6 +670,7 @@ api.modal.error = function (pMessage) {
670
670
671
671
if ( msgObj . hasOwnProperty ( 'message' ) ) {
672
672
$ ( "#modal-error" ) . find ( '[name=message-content]' ) . empty ( ) . html ( msgObj . message ) ;
673
+ $ ( "#modal-error" ) . find ( '[name=message-uuid]' ) . empty ( ) . html ( msgObj . uuid ) ;
673
674
}
674
675
675
676
$ ( "#modal-error" ) . find ( "[name=error]" ) . once ( "click" , function ( ) {
@@ -681,6 +682,7 @@ api.modal.error = function (pMessage) {
681
682
$ ( '.modal-hidden' ) . removeClass ( 'd-none' ) ;
682
683
} ) ;
683
684
685
+
684
686
// Display the Modal
685
687
$ ( "#modal-error" ) . modal ( "show" ) ;
686
688
} ;
0 commit comments