mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #915 from amalhub/master
Fix issue: https://github.com/wso2/product-iots/issues/1133
This commit is contained in:
commit
1f31cf114f
@ -895,7 +895,7 @@ function removeDevices(deviceIdentifiers) {
|
||||
var serviceURL = "/api/device-mgt/v1.0/devices/type/" + deviceIdentifiers[0].type + "/id/" + deviceIdentifiers[0].id;
|
||||
invokerUtil.delete(serviceURL, function (message) {
|
||||
if (deviceIdentifiers.length > 1) {
|
||||
deviceIdentifiers.slice(1, deviceIdentifiers.length);
|
||||
deviceIdentifiers.shift();
|
||||
removeDevices(deviceIdentifiers);
|
||||
} else {
|
||||
$(modalPopupContent).html($('#remove-device-200-content').html());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user