X-Git-Url: http://git.dj3c1t.com/?a=blobdiff_plain;ds=sidebyside;f=mw%2Flibs%2Ftiny_mce%2Fplugins%2Fxhtmlxtras%2Fjs%2Fabbr.js;fp=mw%2Flibs%2Ftiny_mce%2Fplugins%2Fxhtmlxtras%2Fjs%2Fabbr.js;h=4b51a25721b55aa7b9c31af8739569e174af2b57;hb=49c57f2e4950e8fbce1ff8f1c2b791e3df0d61b1;hp=0000000000000000000000000000000000000000;hpb=beb400a195a5ac025eb9fe75c5abdeddde4195c2;p=mtweb diff --git a/mw/libs/tiny_mce/plugins/xhtmlxtras/js/abbr.js b/mw/libs/tiny_mce/plugins/xhtmlxtras/js/abbr.js new file mode 100644 index 0000000..4b51a25 --- /dev/null +++ b/mw/libs/tiny_mce/plugins/xhtmlxtras/js/abbr.js @@ -0,0 +1,28 @@ +/** + * abbr.js + * + * Copyright 2009, Moxiecode Systems AB + * Released under LGPL License. + * + * License: http://tinymce.moxiecode.com/license + * Contributing: http://tinymce.moxiecode.com/contributing + */ + +function init() { + SXE.initElementDialog('abbr'); + if (SXE.currentAction == "update") { + SXE.showRemoveButton(); + } +} + +function insertAbbr() { + SXE.insertElement('abbr'); + tinyMCEPopup.close(); +} + +function removeAbbr() { + SXE.removeElement('abbr'); + tinyMCEPopup.close(); +} + +tinyMCEPopup.onInit.add(init);