Thread:Extension talk:MsUpload/Include Button in WikiEditor/reply (3)

Hi Ratin,

to avoid having to close and open the filelist again to display it after dragging a file, you should add the last 2 lines to the QueueChanged event in the MsUpload.js:

uploader.bind('QueueChanged', function(up) {

if(up.files.length==1){ start_button.html('Hier klicken um diese Datei hochzuladen').show; }else if(up.files.length>1){ start_button.html('Hier klicken um alle Dateien hochzuladen').show; }else{ start_button.hide; gallery_insert.hide; }       $('#wikiEditor-ui-toolbar').find('.sections').css('height','100%');; up.refresh; }); GreetinX,

Alex