mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Reformatting code
This commit is contained in:
parent
25e0b989d2
commit
f41a692bf3
@ -411,7 +411,6 @@ function attachEvents() {
|
||||
$(errorMsg).text("To create a new role with the combination of roles, at least two roles should be" +
|
||||
" selected.");
|
||||
$(errorMsgWrapper).removeClass("hidden");
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -633,6 +632,9 @@ function displayErrors(jqXHR) {
|
||||
});
|
||||
} else {
|
||||
$(modalPopupContent).html($('#group-unexpected-error-content').html());
|
||||
if (jqXHR.responseText) {
|
||||
$('#unexp-error-msg').html(jqXHR.responseText.replace(new RegExp("\"", 'g'), ""));
|
||||
}
|
||||
$("a#group-unexpected-error-link").click(function () {
|
||||
hidePopup();
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user