|
|
@ -895,7 +895,7 @@ function removeDevices(deviceIdentifiers) {
|
|
|
|
var serviceURL = "/api/device-mgt/v1.0/devices/type/" + deviceIdentifiers[0].type + "/id/" + deviceIdentifiers[0].id;
|
|
|
|
var serviceURL = "/api/device-mgt/v1.0/devices/type/" + deviceIdentifiers[0].type + "/id/" + deviceIdentifiers[0].id;
|
|
|
|
invokerUtil.delete(serviceURL, function (message) {
|
|
|
|
invokerUtil.delete(serviceURL, function (message) {
|
|
|
|
if (deviceIdentifiers.length > 1) {
|
|
|
|
if (deviceIdentifiers.length > 1) {
|
|
|
|
deviceIdentifiers.slice(1, deviceIdentifiers.length);
|
|
|
|
deviceIdentifiers.shift();
|
|
|
|
removeDevices(deviceIdentifiers);
|
|
|
|
removeDevices(deviceIdentifiers);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
$(modalPopupContent).html($('#remove-device-200-content').html());
|
|
|
|
$(modalPopupContent).html($('#remove-device-200-content').html());
|
|
|
|