"MDL-13766, fixed a problem of icon view"

This commit is contained in:
Dongsheng Cai
2010-05-14 03:29:09 +00:00
parent 90fb280427
commit 2e93bc3819
+4 -3
View File
@@ -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;