mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Fixing download modal issue on virtual firealarm
This commit is contained in:
parent
e0499a5d86
commit
b99bd42a91
@ -16,9 +16,9 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
var modalPopup = ".wr-modalpopup";
|
||||
var modalPopupContainer = modalPopup + " .modalpopup-container";
|
||||
var modalPopupContent = modalPopup + " .modalpopup-content";
|
||||
var modalPopup = '.modal',
|
||||
modalPopupContainer = modalPopup + ' .modal-content',
|
||||
modalPopupContent = modalPopup + ' .modal-content';
|
||||
var body = "body";
|
||||
|
||||
/*
|
||||
@ -33,7 +33,7 @@ function setPopupMaxHeight() {
|
||||
* Shows agent download popup.
|
||||
*/
|
||||
function showAgentDownloadPopup() {
|
||||
$(modalPopup).show();
|
||||
$(modalPopup).modal('show');
|
||||
setPopupMaxHeight();
|
||||
var deviceType = "";
|
||||
$('.deviceType').each(function () {
|
||||
@ -50,7 +50,7 @@ function hideAgentDownloadPopup() {
|
||||
$('label[for=deviceName]').remove();
|
||||
$('.control-group').removeClass('success').removeClass('error');
|
||||
$(modalPopupContent).html('');
|
||||
$(modalPopup).hide();
|
||||
$(modalPopup).modal('hide');
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user