projects
/
xtuple
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'XTUPLE/4_5_x' into 23853
[xtuple]
/
lib
/
enyo-x
/
source
/
widgets
/
file_input.js
diff --git
a/lib/enyo-x/source/widgets/file_input.js
b/lib/enyo-x/source/widgets/file_input.js
index
b3ac65c
..
d785be8
100644
(file)
--- a/
lib/enyo-x/source/widgets/file_input.js
+++ b/
lib/enyo-x/source/widgets/file_input.js
@@
-64,6
+64,10
@@
regexp:true, undef:true, trailing:true, white:true */
filename = inEvent.value,
reader;
+ if (!file) {
+ return;
+ }
+
if (filename.indexOf("C:\\fakepath\\") === 0) {
// some browsers obnoxiously give you a fake path, but the only thing
// we want is the filename really.