Commit daf883f9 authored by Albert Gräf's avatar Albert Gräf
Browse files

Merge branch 'openpanel-windows-path-fix' into release_2.15.0

parents 04670f09 35373cf7
...@@ -5684,6 +5684,9 @@ function file_dialog(cid, type, target, start_path) { ...@@ -5684,6 +5684,9 @@ function file_dialog(cid, type, target, start_path) {
// it just doesn't work. So this requires us to have the parent <span> // it just doesn't work. So this requires us to have the parent <span>
// around the <input>. Then when we change the innerHTML of the span the // around the <input>. Then when we change the innerHTML of the span the
// new value for nwworkingdir magically works. // new value for nwworkingdir magically works.
if(nw_os_is_windows) {
start_path = start_path.replace(/\//g, '\\');
}
dialog_options = { dialog_options = {
style: "display: none;", style: "display: none;",
type: "file", type: "file",
......
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