From 7e068856e94eeabe38ff70664b908b14f61be789 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 12 Nov 2023 20:43:00 +0100 Subject: [PATCH] Add RPC method name as fragment of the URL This generates more meaning full URL in the browser network monitor. --- sao/src/rpc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sao/src/rpc.js b/sao/src/rpc.js index 8b1b157984..bfbce1fbb2 100644 --- a/sao/src/rpc.js +++ b/sao/src/rpc.js @@ -178,7 +178,7 @@ 'params': params })), 'dataType': 'json', - 'url': (session.database || '.') + '/', + 'url': (session.database || '.') + '/#' + args.method, 'type': 'post', 'complete': [function() { Sao.common.processing.hide(timeoutID);