projects
/
platform
/
core
/
api
/
webapi-plugins.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09ce54f
)
[Filesystem] fix createFile
author
Pawel Kaczmarek
<p.kaczmarek3@samsung.com>
Thu, 26 Feb 2015 11:29:45 +0000
(12:29 +0100)
committer
Pawel Sikorski
<p.sikorski@samsung.com>
Fri, 27 Feb 2015 08:33:19 +0000
(17:33 +0900)
Change-Id: I0b21c7e471df43c3455ea2a76479ac3d27d594eb
Signed-off-by: Pawel Kaczmarek <p.kaczmarek3@samsung.com>
src/filesystem/js/file.js
patch
|
blob
|
history
diff --git
a/src/filesystem/js/file.js
b/src/filesystem/js/file.js
index 1236537895db463b93907871d679c544d42dae71..8b66fe5e9a356e02f7aa3469a779061c0c4b51a6 100644
(file)
--- a/
src/filesystem/js/file.js
+++ b/
src/filesystem/js/file.js
@@
-349,7
+349,7
@@
File.prototype.createFile = function(relativeFilePath) {
'File object which call this method is not directory');
}
- if (!
this
.f_isCorrectRelativePath(args.relativeFilePath) || this.mode === 'r') {
+ if (!
commonFS_
.f_isCorrectRelativePath(args.relativeFilePath) || this.mode === 'r') {
throw new tizen.WebAPIException(tizen.WebAPIException.INVALID_VALUES_ERR,
'Invalid path or readonly acces');
}