Commit bbb8a1ec authored by Antoine Cellerier's avatar Antoine Cellerier

Fix browsing when file/folder name is using a quote (').

parent c0fe636d
......@@ -219,7 +219,7 @@ function check_and_replace_int( id, val )
}
function addslashes( str ){ return str.replace(/\'/g, '\\\''); }
function escapebackslashes( str ){ return str.replace(/\\/g, '\\\\'); }
function escapebackslashes( str ){ return str.replace(/\\[^']/g, '\\\\'); }
function disable( id ){ document.getElementById( id ).disabled = true; }
......
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