diff -r c72b545f1304 -r 67bd3121a12e includes/clientside/tinymce/plugins/advhr/js/rule.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/includes/clientside/tinymce/plugins/advhr/js/rule.js Thu Dec 27 22:09:33 2007 -0500 @@ -0,0 +1,34 @@ +var AdvHRDialog = { + init : function(ed) { + var dom = ed.dom, f = document.forms[0], n = ed.selection.getNode(), w; + + w = dom.getAttrib(n, 'width'); + f.width.value = w ? parseInt(w) : ''; + f.size.value = dom.getAttrib(n, 'size'); + f.noshade.checked = !!dom.getAttrib(n, 'noshade'); + selectByValue(f, 'width2', w.indexOf('%') != -1 ? '%' : 'px'); + }, + + update : function() { + var ed = tinyMCEPopup.editor, h, f = document.forms[0]; + + h = '