diff -r 5882f0eebb34 -r e3b94bd055dc includes/clientside/tinymce/plugins/media/js/media.js --- a/includes/clientside/tinymce/plugins/media/js/media.js Mon Dec 21 15:41:05 2009 -0500 +++ b/includes/clientside/tinymce/plugins/media/js/media.js Tue Dec 22 13:09:59 2009 -0500 @@ -218,7 +218,7 @@ break; } - if (fe.width != f.width.value || fe.height != f.height.height) + if (fe.width != f.width.value || fe.height != f.height.value) ed.execCommand('mceRepaint'); fe.title = serializeParameters(); @@ -469,7 +469,7 @@ if (typeof(pl[n]) == "undefined") return; - document.forms[0].elements[p + "_" + n].checked = pl[n]; + document.forms[0].elements[p + "_" + n].checked = pl[n] != 'false'; } function setStr(pl, p, n) { @@ -490,7 +490,7 @@ tv = typeof(tv) == 'undefined' ? 'true' : "'" + jsEncode(tv) + "'"; fv = typeof(fv) == 'undefined' ? 'false' : "'" + jsEncode(fv) + "'"; - return (v == d) ? '' : n + (v ? ':' + tv + ',' : ':' + fv + ','); + return (v == d) ? '' : n + (v ? ':' + tv + ',' : ":\'" + fv + "\',"); } function getStr(p, n, d) {