mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Fix delete
- Fix delete button in UI - Close connection in DAO
This commit is contained in:
parent
277b114f9c
commit
7b7d47a2bf
@ -605,6 +605,8 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
|
||||
"' devices";
|
||||
log.error(msg, e);
|
||||
throw new DeviceManagementException(msg, e);
|
||||
} finally {
|
||||
DeviceManagementDAOFactory.closeConnection();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -932,6 +932,9 @@ function attachDeviceEvents() {
|
||||
}
|
||||
}
|
||||
|
||||
$(modalPopupContent).html($('#delete-device-modal-content').html());
|
||||
showPopup();
|
||||
|
||||
$("a#delete-device-yes-link").click(function () {
|
||||
deleteDevices(deviceIdentifiers);
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user