Commit 6277bcc4 authored by Jérome Perrin's avatar Jérome Perrin

`final` is a javascript keyword

Signed-off-by: Aurel's avatarAurélien Calonne <aurel@nexedi.com>
parent d83cac35
...@@ -324,12 +324,12 @@ function queryStringToArray(query_string){\n ...@@ -324,12 +324,12 @@ function queryStringToArray(query_string){\n
/*\n /*\n
Turn a query string into a "dictionary"\n Turn a query string into a "dictionary"\n
*/\n */\n
var final ={};\n var final_dict = {};\n
var b = query_string.split(\'&\');\n var b = query_string.split(\'&\');\n
$.each(b, function(x, y){\n $.each(b, function(x, y){\n
var temp = y.split(\'=\');\n var temp = y.split(\'=\');\n
final[temp[0]] = temp[1];});\n final_dict[temp[0]] = temp[1];});\n
return final \n return final_dict;\n
}\n }\n
\n \n
function submitLinkAsHtmlForm(event){\n function submitLinkAsHtmlForm(event){\n
......
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