mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #814 from DimalChandrasiri/master
Fix for github issue #1064
This commit is contained in:
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…
Reference in New Issue
Block a user