aboutsummaryrefslogtreecommitdiff
path: root/js/io/system
diff options
context:
space:
mode:
authorValerio Virgillito2012-04-09 10:32:31 -0700
committerValerio Virgillito2012-04-09 10:32:31 -0700
commit86b98ea086b133f4efb247c39fc6200dcf383a65 (patch)
tree7c6a22bec2b556cbb2f7732fc8595d9f713ad064 /js/io/system
parent7656b6eac7aec59697c6cddbe2a507fe9e4aa187 (diff)
parentefe18b4c8e52667683727139e9f9e28f66381164 (diff)
downloadninja-86b98ea086b133f4efb247c39fc6200dcf383a65.tar.gz
Merge pull request #160 from ananyasen/integration-candidate
- using Montage TextField component to handle all edits
Diffstat (limited to 'js/io/system')
-rwxr-xr-xjs/io/system/coreioapi.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/io/system/coreioapi.js b/js/io/system/coreioapi.js
index ed7df972..a06f45c6 100755
--- a/js/io/system/coreioapi.js
+++ b/js/io/system/coreioapi.js
@@ -1092,7 +1092,7 @@ exports.CoreIoApi = Montage.create(Component, {
1092 isWindowsUri = /^([a-zA-Z]:)([\\/][^<>:"/\\|?*]+)*[\\/]?$/gi.test(uri); 1092 isWindowsUri = /^([a-zA-Z]:)([\\/][^<>:"/\\|?*]+)*[\\/]?$/gi.test(uri);
1093 isUnixUri = /^(\/)?(\/(?![.])[^/]*)*\/?$/gi.test(uri);//folders beginning with . are hidden on Mac / Unix 1093 isUnixUri = /^(\/)?(\/(?![.])[^/]*)*\/?$/gi.test(uri);//folders beginning with . are hidden on Mac / Unix
1094 status = isWindowsUri || isUnixUri; 1094 status = isWindowsUri || isUnixUri;
1095 if(isWindowsUri && isUnixUri){status = false;} 1095 if((uri === "") || (isWindowsUri && isUnixUri)){status = false;}
1096 } 1096 }
1097 return status; 1097 return status;
1098 } 1098 }