|
|
@ -16,9 +16,9 @@
|
|
|
|
* under the License.
|
|
|
|
* under the License.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
var modalPopup = ".wr-modalpopup",
|
|
|
|
var modalPopup = ".modal";
|
|
|
|
modalPopupContainer = modalPopup + " .modalpopup-container",
|
|
|
|
var modalPopupContainer = modalPopup + " .modal-content";
|
|
|
|
modalPopupContent = modalPopup + " .modalpopup-content";
|
|
|
|
var modalPopupContent = modalPopup + " .modal-content";
|
|
|
|
|
|
|
|
|
|
|
|
var emmAdminBasePath = "/api/device-mgt/v1.0";
|
|
|
|
var emmAdminBasePath = "/api/device-mgt/v1.0";
|
|
|
|
|
|
|
|
|
|
|
@ -37,8 +37,7 @@ function setPopupMaxHeight() {
|
|
|
|
* show popup function.
|
|
|
|
* show popup function.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
function showPopup() {
|
|
|
|
function showPopup() {
|
|
|
|
$(modalPopup).show();
|
|
|
|
$(modalPopup).modal('show');
|
|
|
|
setPopupMaxHeight();
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
@ -47,7 +46,9 @@ function showPopup() {
|
|
|
|
function hidePopup() {
|
|
|
|
function hidePopup() {
|
|
|
|
$(modalPopupContent).html("");
|
|
|
|
$(modalPopupContent).html("");
|
|
|
|
$(modalPopupContent).removeClass("operation-data");
|
|
|
|
$(modalPopupContent).removeClass("operation-data");
|
|
|
|
$(modalPopup).hide();
|
|
|
|
$(modalPopup).modal('hide');
|
|
|
|
|
|
|
|
$('body').removeClass('modal-open').css('padding-right','0px');
|
|
|
|
|
|
|
|
$('.modal-backdrop').remove();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var updateNotificationCount = function (data, textStatus, jqXHR) {
|
|
|
|
var updateNotificationCount = function (data, textStatus, jqXHR) {
|
|
|
|