Merge pull request #391 from thusithak/master

EMM 2.2.0-Alpha2 theme migration and issue fixes
merge-requests/7/head
Kamidu Sachith Punchihewa 8 years ago committed by GitHub
commit 3c0dc09be1

@ -525,9 +525,10 @@ function showPopup() {
* hide popup function. * hide popup function.
*/ */
function hidePopup() { function hidePopup() {
$(modalPopupContent).html(''); $(modalPopupContent).html("");
$(modalPopupContent).removeClass("operation-data");
$(modalPopup).modal('hide'); $(modalPopup).modal('hide');
$('body').removeClass('modal-open').css('padding-right', '0px'); $('body').removeClass('modal-open').css('padding-right','0px');
$('.modal-backdrop').remove(); $('.modal-backdrop').remove();
} }

@ -275,7 +275,8 @@ function showPopup() {
* hide popup function. * hide popup function.
*/ */
function hidePopup() { function hidePopup() {
$(modalPopupContent).html(''); $(modalPopupContent).html("");
$(modalPopupContent).removeClass("operation-data");
$(modalPopup).modal('hide'); $(modalPopup).modal('hide');
$('body').removeClass('modal-open').css('padding-right','0px'); $('body').removeClass('modal-open').css('padding-right','0px');
$('.modal-backdrop').remove(); $('.modal-backdrop').remove();

@ -91,9 +91,10 @@ function showPopup() {
* hide popup function. * hide popup function.
*/ */
function hidePopup() { function hidePopup() {
$(modalPopupContent).html(''); $(modalPopupContent).html("");
$(modalPopupContent).removeClass("operation-data");
$(modalPopup).modal('hide'); $(modalPopup).modal('hide');
$('body').removeClass('modal-open').css('padding-right', '0px'); $('body').removeClass('modal-open').css('padding-right','0px');
$('.modal-backdrop').remove(); $('.modal-backdrop').remove();
} }

@ -72,7 +72,7 @@ function showPopup() {
function hidePopup() { function hidePopup() {
$(modalPopupContent).html(''); $(modalPopupContent).html('');
$(modalPopup).modal('hide'); $(modalPopup).modal('hide');
$('body').removeClass('modal-open').css('padding-right', '0px'); $('body').removeClass('modal-open').css('padding-right','0px');
$('.modal-backdrop').remove(); $('.modal-backdrop').remove();
} }

@ -39,7 +39,8 @@ var apiBasePath = "/api/device-mgt/v1.0";
* hide popup function. * hide popup function.
*/ */
function hidePopup() { function hidePopup() {
$(modalPopupContent).html(''); $(modalPopupContent).html("");
$(modalPopupContent).removeClass("operation-data");
$(modalPopup).modal('hide'); $(modalPopup).modal('hide');
$('body').removeClass('modal-open').css('padding-right','0px'); $('body').removeClass('modal-open').css('padding-right','0px');
$('.modal-backdrop').remove(); $('.modal-backdrop').remove();

Loading…
Cancel
Save