Fixes #437 issue where propper validation message is needed

revert-70aa11f8
Imesh Chandrasiri 7 years ago
parent b9cc3c73cd
commit f35fb92668

@ -120,7 +120,7 @@ function triggerError(el,errorMsg){
function displayErrors(message) { function displayErrors(message) {
$('#error-msg').html(message.responseText); $('#error-msg').html(message.responseText);
modalDialog.header('Unexpected error occurred!'); modalDialog.header('Unexpected error occurred!');
modalDialog.content('<h4 id="error-msg"></h4>'); modalDialog.content('<h4 id="error-msg">' + message.responseText + '</h4>');
modalDialog.footer('<div class="buttons"><a href="#" id="group-unexpected-error-link" class="btn-operations">Ok' + modalDialog.footer('<div class="buttons"><a href="#" id="group-unexpected-error-link" class="btn-operations">Ok' +
'</a></div>'); '</a></div>');
modalDialog.showAsError(); modalDialog.showAsError();

Loading…
Cancel
Save