You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
855 B
30 lines
855 B
|
|
function addLinkBigUpload(){
|
|
|
|
if (!document.getElementById("file_user_file_bu")){
|
|
|
|
var ludiiconplus = _p['web_plugin'] + 'chamilo_upload_large/css/import_scorm.png';
|
|
|
|
var lbu = $('#linkbu').html();
|
|
|
|
var h = '<a id="file_user_file_bu" href="'+lbu +'" ';
|
|
h += ' style="cursor:pointer;" ';
|
|
h += ' alt="large files" title="large files">';
|
|
h += '<img id="studioeltools" src="'+ ludiiconplus + '" ';
|
|
h += ' alt="large files" title="large files" style="cursor:pointer;" /> ';
|
|
h += '</a>';
|
|
|
|
var num = $("#toolbar-upload").length;
|
|
if(num==1){
|
|
$('#toolbar-upload').find("div:first-child").find("div:first-child").append(h);
|
|
} else {
|
|
$('.actions').append(h);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
setTimeout(function(){
|
|
addLinkBigUpload();
|
|
},300); |