MDL-16597, moved menu button, credits to martin's menu icon

This commit is contained in:
Dongsheng Cai
2010-05-25 06:28:42 +00:00
parent 9a4cf07777
commit 713e08cf97
3 changed files with 2 additions and 5 deletions

View File

@@ -393,7 +393,7 @@ M.form_filemanager.init = function(Y, options) {
var fullname = list[i].fullname;
html = html.replace('___fullname___', '<a href="'+url+'" id="'+fileid+'"><img src="'+list[i].icon+'" /> ' + fullname + '</a>');
html = html.replace('___action___', '<a href="###" id="'+action+'"><img alt="▶" src="'+M.util.image_url('t/collapsed')+'" /></a>');
html = html.replace('___action___', '<span class="fm-menuicon" id="'+action+'"><img alt="▶" src="'+M.util.image_url('i/menu')+'" /></span>');
html = '<li id="'+htmlid+'">'+html+'</li>';
listhtml += html;
}