Merge pull request #814 from DimalChandrasiri/master

Fix for github issue #1064
revert-70aa11f8
Geeth 7 years ago committed by GitHub
commit c4b92c1fec

@ -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();

@ -37,7 +37,7 @@ function setPopupMaxHeight() {
* show popup function. * show popup function.
*/ */
function showPopup() { function showPopup() {
$(modalPopup).modal('show'); $(modalPopup).first().modal('show');
} }
/* /*

Loading…
Cancel
Save