Merge branch 'delete-fix' into 'master'

Fix delete

See merge request entgra/carbon-device-mgt!300
3.x.x
Dharmakeerthi Lasantha 5 years ago
commit 90fd12d876

@ -605,6 +605,8 @@ public class DeviceManagementProviderServiceImpl implements DeviceManagementProv
"' devices"; "' devices";
log.error(msg, e); log.error(msg, e);
throw new DeviceManagementException(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 () { $("a#delete-device-yes-link").click(function () {
deleteDevices(deviceIdentifiers); deleteDevices(deviceIdentifiers);
}); });

Loading…
Cancel
Save