Revert "serv_rssclient.c: style update"
[citadel.git] / webcit / tiny_mce / plugins / xhtmlxtras / js / abbr.js
1 /**\r
2  * abbr.js\r
3  *\r
4  * Copyright 2009, Moxiecode Systems AB\r
5  * Released under LGPL License.\r
6  *\r
7  * License: http://tinymce.moxiecode.com/license\r
8  * Contributing: http://tinymce.moxiecode.com/contributing\r
9  */\r
10 \r
11 function init() {\r
12         SXE.initElementDialog('abbr');\r
13         if (SXE.currentAction == "update") {\r
14                 SXE.showRemoveButton();\r
15         }\r
16 }\r
17 \r
18 function insertAbbr() {\r
19         SXE.insertElement('abbr');\r
20         tinyMCEPopup.close();\r
21 }\r
22 \r
23 function removeAbbr() {\r
24         SXE.removeElement('abbr');\r
25         tinyMCEPopup.close();\r
26 }\r
27 \r
28 tinyMCEPopup.onInit.add(init);\r