|
|
|
@@ -194,6 +194,7 @@ app.core.View = (function(){ |
|
|
|
cbOnConfirm = params.onConfirm || null,
|
|
|
|
cbOnShow = params.onShow || null,
|
|
|
|
cbOnHide = params.onHide || null,
|
|
|
|
prohibitCloseModal = params.hasOwnProperty( 'prohibitCloseModal' ) ? params.prohibitCloseModal : false,
|
|
|
|
options = { show : true },
|
|
|
|
isAlert = ( params.hasOwnProperty( 'cancelButtonText' ) && params.cancelButtonText === null );
|
|
|
|
|
|
|
|
@@ -259,6 +260,10 @@ app.core.View = (function(){ |
|
|
|
});
|
|
|
|
|
|
|
|
$modal.modal( options );
|
|
|
|
|
|
|
|
if ( true === prohibitCloseModal ) {
|
|
|
|
$modal.off();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
,
|
|
|
|
closeModal : function( fnOnHidden )
|
|
|
|
|