comparison WebContent/jscripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js @ 5:0be9d53a6967

editor for annotations
author dwinter
date Tue, 13 Dec 2011 17:43:46 +0100
parents
children
comparison
equal deleted inserted replaced
4:c32080f364c6 5:0be9d53a6967
1 /**
2 * acronym.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('acronym');
13 if (SXE.currentAction == "update") {
14 SXE.showRemoveButton();
15 }
16 }
17
18 function insertAcronym() {
19 SXE.insertElement('acronym');
20 tinyMCEPopup.close();
21 }
22
23 function removeAcronym() {
24 SXE.removeElement('acronym');
25 tinyMCEPopup.close();
26 }
27
28 tinyMCEPopup.onInit.add(init);