Commit b8b979ca authored by Mikaël Salson's avatar Mikaël Salson

menu.js: POST appears to be forbidden depending on the config

On our test server, an independent instance was not able to work using POST
and we had to put GET. It should be more widely accepted than POST.
parent a30f2715
......@@ -37,7 +37,7 @@ function initMenu () {
//detect if files are available
$.ajax({
type: "POST",
type: "GET",
timeout: 5000,
crossDomain: true,
url: config.file_menu.path + config.file_menu.file[0],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment