2011-04-05 01:42:57 +02:00
|
|
|
/**
|
|
|
|
* acronym.js
|
2009-11-21 03:26:09 +01:00
|
|
|
*
|
2011-04-05 01:42:57 +02:00
|
|
|
* Copyright 2009, Moxiecode Systems AB
|
|
|
|
* Released under LGPL License.
|
|
|
|
*
|
|
|
|
* License: http://tinymce.moxiecode.com/license
|
|
|
|
* Contributing: http://tinymce.moxiecode.com/contributing
|
2009-11-21 03:26:09 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
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);
|