mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 22:56:49 +00:00
fix(utils.js): compute correctly uri in write function for windows
This commit is contained in:
parent
0763f2204f
commit
577247fba3
1 changed files with 1 additions and 1 deletions
|
|
@ -631,6 +631,6 @@ function unscapeHtml (str) {
|
|||
function write (fileName, text) {
|
||||
// TODO: Deal with async.
|
||||
var request = new XMLHttpRequest();
|
||||
request.open('PUT', 'file://' + fileName, false);
|
||||
request.open('PUT', getUriFromSystemPath(fileName), false);
|
||||
request.send(text);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue