/BlogEngine/BlogEngine.NET/editors/tiny_mce_3_4_3_1/plugins/xhtmlxtras/js/acronym.js
JavaScript | 28 lines | 15 code | 4 blank | 9 comment | 2 complexity | 0a19f79bdc9222d3273712fe37a8051c MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
- /**
- * acronym.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('acronym');
- if (SXE.currentAction == "update") {
- SXE.showRemoveButton();
- }
- }
-
- function insertAcronym() {
- SXE.insertElement('acronym');
- tinyMCEPopup.close();
- }
-
- function removeAcronym() {
- SXE.removeElement('acronym');
- tinyMCEPopup.close();
- }
-
- tinyMCEPopup.onInit.add(init);