Line # Revision Author
1 3 ahitrov@rambler.ru /**
2 * abbr.js
3 *
4 * Copyright 2009, Moxiecode Systems AB
5 * Released under LGPL License.
6 *
7 * License: http://tinymce.moxiecode.com/license
8 * Contributing: http://tinymce.moxiecode.com/contributing
9 */
10
11 function init() {
12 SXE.initElementDialog('abbr');
13 if (SXE.currentAction == "update") {
14 SXE.showRemoveButton();
15 }
16 }
17
18 function insertAbbr() {
19 SXE.insertElement('abbr');
20 tinyMCEPopup.close();
21 }
22
23 function removeAbbr() {
24 SXE.removeElement('abbr');
25 tinyMCEPopup.close();
26 }
27
28 tinyMCEPopup.onInit.add(init);