Što je ovdje pogrešno?
// IMG Popup
if (oButtonProperties.sCode == 'img')
{
// Ask them to enter the URL of the image.
var sText = prompt(oEditorStrings['prompt_text_img'], 'http://');
if (!sText)
return;
// Ask them to enter the height of the image.
var sHeight = prompt(oEditorStrings['prompt_text_height']);
if (!sHeight || sHeight == '')
sHeight = sText;
// Ask them to enter the width of the image.
var sWidth = prompt(oEditorStrings['prompt_text_width']);
if (!sWidth || sWidth == '')
sWidth = sText;
// Ask them to enter the alt text of the image.
var sAlt = prompt(oEditorStrings['prompt_text_alt']);
if (!Alt || sAlt == '')
sAlt = sText;
var bbcode = '[img height=' + sHeight + 'width=' + sWidth + 'alt=' + sAlt + ']' + sText + '[/img]';
replaceText(bbcode.replace(/\\n/g, '\n'), this.oTextHandle);
}
// Replace?
else if (!('sAfter' in oButtonProperties) || oButtonProperties.sAfter == null)

