Lines 164-170
FloMax.persistBranchRule = function (brJSON, branchRule) {
Link Here
|
164 |
if (brJSON.floating == 'DISABLED') { |
164 |
if (brJSON.floating == 'DISABLED') { |
165 |
brJSON.delete = 1; //A hack to trick Perl CGI to understand this is a HTTP DELETE-verb. |
165 |
brJSON.delete = 1; //A hack to trick Perl CGI to understand this is a HTTP DELETE-verb. |
166 |
$.ajax('floating-matrix-api.pl', |
166 |
$.ajax('floating-matrix-api.pl', |
167 |
{method : 'DELETE', |
167 |
{method : 'POST', //Should be DELETE but damn CGI |
168 |
data : brJSON, |
168 |
data : brJSON, |
169 |
dataType : 'json', |
169 |
dataType : 'json', |
170 |
}).done(function(data, textStatus, jqXHR){ |
170 |
}).done(function(data, textStatus, jqXHR){ |
171 |
- |
|
|