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

moving args 5-8 to second row, as the popup is simply too wide
(adding arguments 2-8 to BSL function wizard)
(moving args 5-8 to second row, as the popup is simply too wide)
Line 574: Line 574:


curPopup = new XEBPopup('bslfunc', m.x, m.y + 22); // make pop-up 22px below cursor (height of button bar)
curPopup = new XEBPopup('bslfunc', m.x, m.y + 22); // make pop-up 22px below cursor (height of button bar)
XEBPopup.prototype.width = 115 + (150 * 8); // labels on left are 115px, and each column requires 150px as long as Name field is "size 20"
 
        // height has to be set in Live.css
        /* Set width of popup (height has to be set in Live.css); labels on left are 115px,
          and each column requires 150px as long as Name field is "size 20"; the 8 arguments
          are broken into two rows, so that means the first row has five columns, Name and
          arguments 1-4 */
XEBPopup.prototype.width = 115 + (150 * 5);


var mt = '<form name="XEBPopupBSLfuncForm" id="XEBFormBSLFunc">' +
var mt = '<form name="XEBPopupBSLfuncForm" id="XEBFormBSLFunc">' +