Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90fb280
)
"MDL-13766, fixed a problem of icon view"
author
Dongsheng Cai
<unoter@gmail.com>
Fri, 14 May 2010 03:29:09 +0000
(
03:29
+0000)
committer
Dongsheng Cai
<unoter@gmail.com>
Fri, 14 May 2010 03:29:09 +0000
(
03:29
+0000)
repository/filepicker.js
patch
|
blob
|
blame
|
history
diff --git
a/repository/filepicker.js
b/repository/filepicker.js
index
8873f23
..
b2b1f37
100644
(file)
--- a/
repository/filepicker.js
+++ b/
repository/filepicker.js
@@
-330,9
+330,10
@@
M.core_filepicker.init = function(Y, options) {
this.view_files();
}
}, this, node);
- y_title.on('click', function(e, p){
- y_file.simulate('click');
- }, this, node);
+ y_title.on('click', function(e, p, id){
+ var icon = Y.one(id);
+ icon.simulate('click');
+ }, this, node, '#'+link.id);
} else {
var fileinfo = {};
fileinfo['title'] = list[k].title;