MediaWiki:Common.js/edit.js: Difference between revisions

oops, forgot I changed the first parameter name
(adding parameter to setInnerHTML that allows for custom popup title)
(oops, forgot I changed the first parameter name)
Line 467: Line 467:
var mt = '<div id="XEBmnu" style="width:' + this.width + 'px" >';
var mt = '<div id="XEBmnu" style="width:' + this.width + 'px" >';
mt += '<div id="XEBmnuTitle" class="XEBPopupTitle" onmousedown="XEBstartDrag(event)" onmouseup="XEBstopDrag(event)" onmousemove="XEBDrag(event)">' + title + '</div>';
mt += '<div id="XEBmnuTitle" class="XEBPopupTitle" onmousedown="XEBstartDrag(event)" onmouseup="XEBstopDrag(event)" onmousemove="XEBDrag(event)">' + title + '</div>';
mt += text;
mt += html;
mt += '</div>';
mt += '</div>';
this.div.innerHTML = mt;
this.div.innerHTML = mt;