mirror of
https://repository.entgra.net/community/device-mgt-plugins.git
synced 2025-09-16 23:42:15 +00:00
Updating modal name element
This commit is contained in:
parent
17dd96aa10
commit
d8d69f3092
@ -16,9 +16,9 @@
|
|||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var modalPopup = ".wr-modalpopup";
|
var modalPopup = ".modal";
|
||||||
var modalPopupContainer = modalPopup + " .modalpopup-container";
|
var modalPopupContainer = modalPopup + " .modal-content";
|
||||||
var modalPopupContent = modalPopup + " .modalpopup-content";
|
var modalPopupContent = modalPopup + " .modal-content";
|
||||||
var body = "body";
|
var body = "body";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -16,9 +16,9 @@
|
|||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var modalPopup = ".wr-modalpopup";
|
var modalPopup = ".modal";
|
||||||
var modalPopupContainer = modalPopup + " .modalpopup-container";
|
var modalPopupContainer = modalPopup + " .modal-content";
|
||||||
var modalPopupContent = modalPopup + " .modalpopup-content";
|
var modalPopupContent = modalPopup + " .modal-content";
|
||||||
var body = "body";
|
var body = "body";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -16,9 +16,9 @@
|
|||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var modalPopup = ".wr-modalpopup";
|
var modalPopup = ".modal";
|
||||||
var modalPopupContainer = modalPopup + " .modalpopup-container";
|
var modalPopupContainer = modalPopup + " .modal-content";
|
||||||
var modalPopupContent = modalPopup + " .modalpopup-content";
|
var modalPopupContent = modalPopup + " .modal-content";
|
||||||
var body = "body";
|
var body = "body";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@ -21,8 +21,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
var operations = '.wr-operations',
|
var operations = '.wr-operations',
|
||||||
modalPopup = '.wr-modalpopup',
|
modalPopup = '.modal',
|
||||||
modalPopupContent = modalPopup + ' .modalpopup-content',
|
modalPopupContent = modalPopup + ' .modal-content',
|
||||||
navHeight = $('#nav').height(),
|
navHeight = $('#nav').height(),
|
||||||
headerHeight = $('header').height(),
|
headerHeight = $('header').height(),
|
||||||
offset = (headerHeight + navHeight),
|
offset = (headerHeight + navHeight),
|
||||||
@ -43,9 +43,9 @@ function getSelectedDeviceIds() {
|
|||||||
var deviceId = device.data('deviceid');
|
var deviceId = device.data('deviceid');
|
||||||
var deviceType = device.data('type');
|
var deviceType = device.data('type');
|
||||||
deviceIdentifierList.push({
|
deviceIdentifierList.push({
|
||||||
"id": deviceId,
|
"id": deviceId,
|
||||||
"type": deviceType
|
"type": deviceType
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
if (deviceIdentifierList.length == 0) {
|
if (deviceIdentifierList.length == 0) {
|
||||||
var thisTable = $(".DTTT_selected").closest('.dataTables_wrapper').find('.dataTable').dataTable();
|
var thisTable = $(".DTTT_selected").closest('.dataTables_wrapper').find('.dataTable').dataTable();
|
||||||
@ -54,9 +54,9 @@ function getSelectedDeviceIds() {
|
|||||||
var deviceId = $(thisTable.api().row(this).node()).data('deviceid');
|
var deviceId = $(thisTable.api().row(this).node()).data('deviceid');
|
||||||
var deviceType = $(thisTable.api().row(this).node()).data('devicetype');
|
var deviceType = $(thisTable.api().row(this).node()).data('devicetype');
|
||||||
deviceIdentifierList.push({
|
deviceIdentifierList.push({
|
||||||
"id": deviceId,
|
"id": deviceId,
|
||||||
"type": deviceType
|
"type": deviceType
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -172,14 +172,16 @@ function runOperation(operationName) {
|
|||||||
|
|
||||||
var payload, serviceEndPoint;
|
var payload, serviceEndPoint;
|
||||||
if (list[platformTypeConstants.IOS]) {
|
if (list[platformTypeConstants.IOS]) {
|
||||||
payload = operationModule.generatePayload(platformTypeConstants.IOS, operationName, list[platformTypeConstants.IOS]);
|
payload =
|
||||||
|
operationModule.generatePayload(platformTypeConstants.IOS, operationName, list[platformTypeConstants.IOS]);
|
||||||
serviceEndPoint = operationModule.getIOSServiceEndpoint(operationName);
|
serviceEndPoint = operationModule.getIOSServiceEndpoint(operationName);
|
||||||
} else if (list[platformTypeConstants.ANDROID]) {
|
} else if (list[platformTypeConstants.ANDROID]) {
|
||||||
payload = operationModule
|
payload = operationModule
|
||||||
.generatePayload(platformTypeConstants.ANDROID, operationName, list[platformTypeConstants.ANDROID]);
|
.generatePayload(platformTypeConstants.ANDROID, operationName, list[platformTypeConstants.ANDROID]);
|
||||||
serviceEndPoint = operationModule.getAndroidServiceEndpoint(operationName);
|
serviceEndPoint = operationModule.getAndroidServiceEndpoint(operationName);
|
||||||
} else if (list[platformTypeConstants.WINDOWS]) {
|
} else if (list[platformTypeConstants.WINDOWS]) {
|
||||||
payload = operationModule.generatePayload(platformTypeConstants.WINDOWS, operationName, list[platformTypeConstants.WINDOWS]);
|
payload = operationModule.generatePayload(platformTypeConstants.WINDOWS, operationName,
|
||||||
|
list[platformTypeConstants.WINDOWS]);
|
||||||
serviceEndPoint = operationModule.getWindowsServiceEndpoint(operationName);
|
serviceEndPoint = operationModule.getWindowsServiceEndpoint(operationName);
|
||||||
}
|
}
|
||||||
if (operationName == "NOTIFICATION") {
|
if (operationName == "NOTIFICATION") {
|
||||||
|
|||||||
@ -16,9 +16,10 @@
|
|||||||
* under the License.
|
* under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var modalPopup = ".wr-modalpopup",
|
var modalPopup = ".modal";
|
||||||
modalPopupContainer = modalPopup + " .modalpopup-container",
|
var modalPopupContainer = modalPopup + " .modal-content";
|
||||||
modalPopupContent = modalPopup + " .modalpopup-content";
|
var modalPopupContent = modalPopup + " .modal-content";
|
||||||
|
var body = "body";
|
||||||
|
|
||||||
var emmAdminBasePath = "/api/device-mgt/v1.0";
|
var emmAdminBasePath = "/api/device-mgt/v1.0";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user