|
|
@ -411,7 +411,6 @@ function attachEvents() {
|
|
|
|
$(errorMsg).text("To create a new role with the combination of roles, at least two roles should be" +
|
|
|
|
$(errorMsg).text("To create a new role with the combination of roles, at least two roles should be" +
|
|
|
|
" selected.");
|
|
|
|
" selected.");
|
|
|
|
$(errorMsgWrapper).removeClass("hidden");
|
|
|
|
$(errorMsgWrapper).removeClass("hidden");
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|
|
|
@ -633,6 +632,9 @@ function displayErrors(jqXHR) {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$(modalPopupContent).html($('#group-unexpected-error-content').html());
|
|
|
|
$(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 () {
|
|
|
|
$("a#group-unexpected-error-link").click(function () {
|
|
|
|
hidePopup();
|
|
|
|
hidePopup();
|
|
|
|
});
|
|
|
|
});
|
|
|
|