Commit efed952d authored by Ad Schellevis's avatar Ad Schellevis

(mvc) add dismiss button to standard validation message

parent 316c3682
......@@ -46,7 +46,14 @@ function saveFormToEndpoint(url,formid,callback_ok) {
BootstrapDialog.show({
type:BootstrapDialog.TYPE_WARNING,
title: 'Input validation',
message: 'Please correct validation errors in form'
message: 'Please correct validation errors in form',
buttons: [{
label: 'Dismiss',
action: function(dialogRef){
dialogRef.close();
}
}]
});
} else if ( callback_ok != undefined ) {
// execute callback function
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment