Add RPC method name as fragment of the URL

This generates more meaning full URL in the browser network monitor.
This commit is contained in:
Cédric Krier
2023-11-12 20:43:00 +01:00
parent ceb1e9d0df
commit 7e068856e9
+1 -1
View File
@@ -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);