Skip to content

Commit

Permalink
Closes-Bug: #1549824 - R3.0 - unable to create VN/Ports with certain …
Browse files Browse the repository at this point in the history
…options

- Fixed Multiselect/Dropdown issue for POST requests

Change-Id: If3d41f2e9c5cd0b9e0e38b27dd6ce30c466dfff1
  • Loading branch information
sgrgala committed Feb 25, 2016
1 parent b96db88 commit c2a0e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webroot/js/contrail-elements.js
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,7 @@ function constructSelect2(self, defaultOption, args) {
ajaxConfig['timeout'] = dataSourceOption.timeout;
}
if(dataSourceOption.requestType && (dataSourceOption.requestType).toLowerCase() == 'post') {
ajaxConfig['type'] = 'post';
ajaxConfig['type'] = 'POST';
ajaxConfig['contentType'] = "application/json; charset=utf-8";
ajaxConfig['data'] = dataSourceOption.postData;
}
Expand Down

0 comments on commit c2a0e7b

Please sign in to comment.