diff options
author | 2016-09-23 21:52:17 +0800 | |
---|---|---|
committer | 2016-09-23 21:52:17 +0800 | |
commit | 985b2108a6437173d4364238c13a98d13d1c7083 (patch) | |
tree | 6e0f3def4d538cc27bd622c0e165fd66548df1d0 /openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/js/SendMsg.js | |
parent | 540f0bf70e65f982bdae95d3fb3a95db5a66bbe7 (diff) |
formatting the code, removing unnecessary imports and URL patterns correction
Change-Id: I44ef8d3318e222cf6cdbccfb717f22b05dd6cb01
Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
Diffstat (limited to 'openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/js/SendMsg.js')
-rw-r--r-- | openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/js/SendMsg.js | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/js/SendMsg.js b/openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/js/SendMsg.js index b898d6ad..e42c0333 100644 --- a/openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/js/SendMsg.js +++ b/openo-portal/portal-resmgr/src/main/webapp/resmgr-nfv/js/SendMsg.js @@ -1,20 +1,20 @@ var sendMsg = { - get : "get", - post : "post" + get: "get", + post: "post" } function request(url, requestType, data, success, error, async) { - var setting = { - url : url, - async : async ? async : false, - type : requestType, - dataType : "json", - contentType : 'application/json;charset=UTF-8', - data : data, - success : success, - error : error - } + var setting = { + url: url, + async: async ? async : false, + type: requestType, + dataType: "json", + contentType: 'application/json;charset=UTF-8', + data: data, + success: success, + error: error + } - $.ajax(setting); + $.ajax(setting); }
\ No newline at end of file |