From c6d186aa1addd35a47bd575334c51d3b0c3a7f6c Mon Sep 17 00:00:00 2001 From: Ace Date: Tue, 10 Jan 2017 16:19:57 +0530 Subject: [PATCH] Adding missing fix --- .../devicemgt/app/pages/cdmf.page.devices/public/js/listing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/public/js/listing.js b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/public/js/listing.js index 9fe08fa365f..688a3a8b213 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/public/js/listing.js +++ b/components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/pages/cdmf.page.devices/public/js/listing.js @@ -740,7 +740,7 @@ function attachDeviceEvents() { var newDeviceName = $('#edit-device-name').val(); var request = {}; request['name'] = newDeviceName; - invokerUtil.put(serviceURL, request, function (message) { + invokerUtil.post(serviceURL, request, function (message) { $(modalPopupContent).html($('#edit-device-200-content').html()); setTimeout(function () { hidePopup();