X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;f=mw%2Flibs%2Ftiny_mce%2Fplugins%2Fadvhr%2Fjs%2Frule.js;fp=mw%2Flibs%2Ftiny_mce%2Fplugins%2Fadvhr%2Fjs%2Frule.js;h=0000000000000000000000000000000000000000;hb=422d883e3ed8ee55ee41e3b7826f32b79cea646d;hp=b6cbd66c759fd9d158a84a6d31f5ef6579f79783;hpb=e1b64e4088232b9d7b4acb2dc24279bb38fcafba;p=mtweb diff --git a/mw/libs/tiny_mce/plugins/advhr/js/rule.js b/mw/libs/tiny_mce/plugins/advhr/js/rule.js deleted file mode 100644 index b6cbd66..0000000 --- a/mw/libs/tiny_mce/plugins/advhr/js/rule.js +++ /dev/null @@ -1,43 +0,0 @@ -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) : (dom.getStyle('width') || ''); - f.size.value = dom.getAttrib(n, 'size') || parseInt(dom.getStyle('height')) || ''; - f.noshade.checked = !!dom.getAttrib(n, 'noshade') || !!dom.getStyle('border-width'); - selectByValue(f, 'width2', w.indexOf('%') != -1 ? '%' : 'px'); - }, - - update : function() { - var ed = tinyMCEPopup.editor, h, f = document.forms[0], st = ''; - - h = '