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

remove debugging msg
(mw.toolbar.buttons doesn't seem to exist... do we need this if we include the standard buttons in our custom button string?)
(remove debugging msg)
Line 187: Line 187:


// Build the new buttons
// Build the new buttons
alert("Building new button array.");
for (i = 0; i < XEBOrder2.length; i++) {
for (i = 0; i < XEBOrder2.length; i++) {
bc = BDict[XEBOrder2[i]];
bc = BDict[XEBOrder2[i]];
Line 205: Line 204:
  }
  }
                   else {
                   else {
                       alert("mw.toolbar was not loaded in time for the custom editing toolbar.");
                       //alert("mw.toolbar was not loaded in time for the custom editing toolbar.");
                   }
                   }
                 }
                 }