This commit is contained in:
kamidu 2016-10-14 15:20:14 +05:30
commit 39bc2e6747
5 changed files with 11 additions and 7 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

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