diff options
author | Valerio Virgillito | 2012-02-23 01:55:14 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-02-23 01:55:14 -0800 |
commit | 64a971f63333d74ca89690892a52948b3bd4283a (patch) | |
tree | 61bac34de22852efd2b9b8880f62210685b16297 /js/components/ui/icon-list-basic | |
parent | aaa8d05cc3cfd94322d356e265b94b0abb9f6305 (diff) | |
parent | d264092596ba697cd04738566184270dc608be63 (diff) | |
download | ninja-64a971f63333d74ca89690892a52948b3bd4283a.tar.gz |
Merge branch 'FileIO' of github.com:joseeight/ninja-internal into file-io
Diffstat (limited to 'js/components/ui/icon-list-basic')
-rwxr-xr-x | js/components/ui/icon-list-basic/icon.reel/icon.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/js/components/ui/icon-list-basic/icon.reel/icon.js b/js/components/ui/icon-list-basic/icon.reel/icon.js index b0279207..72adbfa1 100755 --- a/js/components/ui/icon-list-basic/icon.reel/icon.js +++ b/js/components/ui/icon-list-basic/icon.reel/icon.js | |||
@@ -131,6 +131,11 @@ var Icon = exports.Icon = Montage.create(Component, { | |||
131 | openFolderEvent.initEvent("openFolder", false, false); | 131 | openFolderEvent.initEvent("openFolder", false, false); |
132 | openFolderEvent.folderUri = this.icondata.uri; | 132 | openFolderEvent.folderUri = this.icondata.uri; |
133 | this.element.dispatchEvent(openFolderEvent); | 133 | this.element.dispatchEvent(openFolderEvent); |
134 | }else{ | ||
135 | var openFolderEvent = document.createEvent("Events"); | ||
136 | openFolderEvent.initEvent("selectFile", false, false); | ||
137 | openFolderEvent.fileUri = this.icondata.uri; | ||
138 | this.element.dispatchEvent(openFolderEvent); | ||
134 | } | 139 | } |
135 | if(evt.bubbles){ | 140 | if(evt.bubbles){ |
136 | evt.stopPropagation(); | 141 | evt.stopPropagation(); |