[EMM-1618] - related improvements on remaining occurences

This commit is contained in:
thusithakalugamage 2016-10-11 18:35:47 +05:30
parent 4f42980500
commit 48337ee16c
6 changed files with 14 additions and 9 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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