From af0bf6e6df6a8d3dfc21b74577c8b40b84bab658 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Fri, 13 Sep 2013 03:34:52 +0100 Subject: [PATCH] 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 --- code/utils_misc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/utils_misc.js b/code/utils_misc.js index 9e904d43..e02437c9 100644 --- a/code/utils_misc.js +++ b/code/utils_misc.js @@ -254,7 +254,7 @@ window.postAjax = function(action, data, success, error) { var remove = function(data, textStatus, jqXHR) { window.requests.remove(jqXHR); }; var errCnt = function(jqXHR) { window.failedRequestCount++; window.requests.remove(jqXHR); }; var result = $.ajax({ - url: '/r/dashboard.'+action, + url: '/r/'+methodName, type: 'POST', data: post_data, context: data,