[EMM-1618] - related improvements on remaining occurences

merge-requests/7/head
thusithakalugamage 8 years ago
parent 4f42980500
commit 48337ee16c

@ -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();
} }

@ -73,9 +73,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();
} }

@ -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