Topic on Extension talk:MsUpload

"Advanced" section in Vector editor cannot be loaded

2
Subfader (talkcontribs)

When the editor is loaded, the "Advanced" ("Erweitert" in German) section in the Vector editor cannot be loaded.

It works again when I disable the inclusion of the button and the drag'n'drop section in msupload.js:

function createUpload(wikiEditor){
		
	if (wikiEditor == true) {
	
	    //create upload button
	    var upload_tab = $(document.createElement("span")).attr('class', 'tab tab-msupload').prependTo('#wikiEditor-ui-toolbar .tabs');
	
	    var upload_button = $(document.createElement("span")).attr({
	        id: "upload_select",
	        title: mw.msg('msu-button_title')
	    }).append('<img src="' + msu_vars.path + '/images/button_upload.gif">').appendTo(upload_tab);
	
	    //create upload div  
	    var upload_container = $(document.createElement("div")).attr('id', "upload_container").insertAfter('#wikiEditor-ui-toolbar');
	    var upload_div = $(document.createElement("div")).attr("id", "upload_div").appendTo(upload_container);
	    var container_msu = 'upload_container';
	    $('#wikiEditor-ui-toolbar .tool .options').css('z-index', '2');
	
	}

V 9.2, MW 1.19

Subfader (talkcontribs)

Turns out the vector edit toolbar is buggy here in general. May have to update soon.

Reply to ""Advanced" section in Vector editor cannot be loaded"