0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-11-23 00:12:37 +00:00
salesagility_SuiteCRM/include/javascript/tiny_mce/plugins/xhtmlxtras/js/acronym.js
2013-09-23 20:30:44 +01:00

29 lines
531 B
JavaScript
Executable File

/**
* 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);