also use munged RPC name in URL - as that's what the stock javescript does (as far as I can tell - it's stopped returning this munged version for now)

for #552
This commit is contained in:
Jon Atkins 2013-09-13 03:34:52 +01:00
parent e9d173402b
commit af0bf6e6df

View File

@ -254,7 +254,7 @@ window.postAjax = function(action, data, success, error) {
var remove = function(data, textStatus, jqXHR) { window.requests.remove(jqXHR); }; var remove = function(data, textStatus, jqXHR) { window.requests.remove(jqXHR); };
var errCnt = function(jqXHR) { window.failedRequestCount++; window.requests.remove(jqXHR); }; var errCnt = function(jqXHR) { window.failedRequestCount++; window.requests.remove(jqXHR); };
var result = $.ajax({ var result = $.ajax({
url: '/r/dashboard.'+action, url: '/r/'+methodName,
type: 'POST', type: 'POST',
data: post_data, data: post_data,
context: data, context: data,