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.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var modalPopup = ".wr-modalpopup";
|
var modalPopup = '.modal',
|
||||||
var modalPopupContainer = modalPopup + " .modalpopup-container";
|
modalPopupContainer = modalPopup + ' .modal-content',
|
||||||
var modalPopupContent = modalPopup + " .modalpopup-content";
|
modalPopupContent = modalPopup + ' .modal-content';
|
||||||
var body = "body";
|
var body = "body";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -33,7 +33,7 @@ function setPopupMaxHeight() {
|
|||||||
* Shows agent download popup.
|
* Shows agent download popup.
|
||||||
*/
|
*/
|
||||||
function showAgentDownloadPopup() {
|
function showAgentDownloadPopup() {
|
||||||
$(modalPopup).show();
|
$(modalPopup).modal('show');
|
||||||
setPopupMaxHeight();
|
setPopupMaxHeight();
|
||||||
var deviceType = "";
|
var deviceType = "";
|
||||||
$('.deviceType').each(function () {
|
$('.deviceType').each(function () {
|
||||||
@ -50,7 +50,7 @@ function hideAgentDownloadPopup() {
|
|||||||
$('label[for=deviceName]').remove();
|
$('label[for=deviceName]').remove();
|
||||||
$('.control-group').removeClass('success').removeClass('error');
|
$('.control-group').removeClass('success').removeClass('error');
|
||||||
$(modalPopupContent).html('');
|
$(modalPopupContent).html('');
|
||||||
$(modalPopup).hide();
|
$(modalPopup).modal('hide');
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user