rem: if (fe.width != f.width.value || fe.height != f.width.height) 
add: if (fe.width != f.width.value || fe.height != f.height.height) 
context: function insertMedia() {	var fe, f = document.forms[0], h;	if (!AutoValidator.validate(f)) {		alert(tinyMCE.getLang('lang_invalid_data'));		return false;	}	f.width.value = f.width.value == "" ? 100 : f.width.value;	f.height.value = f.height.value == "" ? 100 : f.height.value;	fe = tinyMCE.selectedInstance.getFocusElement();	if (fe != null && /mceItem(Flash|ShockWave|WindowsMedia|QuickTime|RealMedia)/.test(tinyMCE.getAttrib(fe, 'class'))) {		switch (f.media_type.options[f.media_type.selectedIndex].value) {			case "flash":				fe.className = "mceItemFlash";				break;			case "shockwave":				fe.className = "mceItemShockWave";				break;			case "qt":				fe.className = "mceItemQuickTime";				break;			case "wmp":				fe.className = "mceItemWindowsMedia";				break;			case "rmp":				fe.className = "mceItemRealMedia";				break;		}		if (fe.width != f.width.value || fe.height != f.width.height)			tinyMCE.selectedInstance.repaint();		fe.title = serializeParameters();		fe.width = f.width.value;		fe.height = f.height.value;		fe.style.width = f.width.value + (f.width.value.indexOf('%') == -1 ? 'px' : '');		fe.style.height = f.height.value + (f.height.value.indexOf('%') == -1 ? 'px' : '');		fe.align = f.align.options[f.align.selectedIndex].value;	} else {		h = '<img src="' + tinyMCE.getParam("theme_href") + '/images/spacer.gif"' ;		switch (f.media_type.options[f.media_type.selectedIndex].value) {			case "flash":				h += ' class="mceItemFlash"';				break;			case "shockwave":				h += ' class="mceItemShockWave"';				break;			case "qt":				h += ' class="mceItemQuickTime"';				break;			case "wmp":				h += ' class="mceItemWindowsMedia"';				break;			case "rmp":				h += ' class="mceItemRealMedia"';				break;		}		h += ' title="' + serializeParameters() + '"';		h += ' width="' + f.width.value + '"';		h += ' height="' + f.height.value + '"';		h += ' align="' + f.align.options[f.align.selectedIndex].value + '"';		h += ' />';		tinyMCE.selectedInstance.execCommand('mceInsertContent', false, h);	}	tinyMCEPopup.close();}
meta: 3891	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3891/e8e3862e104280a24076077196c7b5713720de70/media.js/clean/plugins/editors/tinymce/jscripts/tiny_mce/plugins/media/jscripts/media.js