Adding modal code changes

4.x.x
Imesh Chandrasiri 8 years ago
parent f898ed838c
commit f42215a926

@ -35,7 +35,6 @@ function setPopupMaxHeight() {
*/
function showPopup() {
$(modalPopup).modal('show');
//setPopupMaxHeight();
}
/*

@ -456,7 +456,6 @@ function setPopupMaxHeight() {
*/
function showPopup() {
$(modalPopup).modal('show');
//setPopupMaxHeight();
}
/*

@ -269,7 +269,6 @@ function setPopupMaxHeight() {
*/
function showPopup() {
$(modalPopup).modal('show');
//setPopupMaxHeight();
}
/*

@ -82,7 +82,6 @@ function setPopupMaxHeight() {
*/
function showPopup() {
$(modalPopup).modal('show');
//setPopupMaxHeight();
}
/*

@ -41,7 +41,7 @@ $(function () {
var apiBasePath = "/api/device-mgt/v1.0";
var modalPopup = ".modal";
var modalPopupContainer = modalPopup + " .modal-content";
var modalPopupContent = modalPopup + " .modal-body";
var modalPopupContent = modalPopup + " .modal-content";
var body = "body";
$(".icon .text").res_text(0.2);
@ -58,7 +58,6 @@ function setPopupMaxHeight() {
*/
function showPopup() {
$(modalPopup).modal('show');
setPopupMaxHeight();
}
/*
@ -67,6 +66,8 @@ function showPopup() {
function hidePopup() {
$(modalPopupContent).html('');
$(modalPopup).modal('hide');
$('body').removeClass('modal-open').css('padding-right','0px');
$('.modal-backdrop').remove();
}
/**

@ -45,7 +45,6 @@
*/
function showQRCodePopup() {
$(modalPopup).modal('show');
//setPopupMaxHeight();
}
/*

@ -13,7 +13,7 @@ function inputIsValid(regExp, inputString) {
$(document).ready(function () {
var modalPopup = ".modal";
// var modalPopupContainer = modalPopup + " .modal-content";
var modalPopupContent = modalPopup + " .modal-body";
var modalPopupContent = modalPopup + " .modal-content";
$("#change-password").click(function () {

@ -16,9 +16,9 @@
* under the License.
*/
var modalPopup = ".wr-modalpopup",
modalPopupContainer = modalPopup + " .modalpopup-container",
modalPopupContent = modalPopup + " .modalpopup-content";
var modalPopup = ".modal";
var modalPopupContainer = modalPopup + " .modal-content";
var modalPopupContent = modalPopup + " .modal-content";
var emmAdminBasePath = "/api/device-mgt/v1.0";
@ -37,8 +37,7 @@ function setPopupMaxHeight() {
* show popup function.
*/
function showPopup() {
$(modalPopup).show();
setPopupMaxHeight();
$(modalPopup).modal('show');
}
/*
@ -47,7 +46,9 @@ function showPopup() {
function hidePopup() {
$(modalPopupContent).html("");
$(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) {

Loading…
Cancel
Save