mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ef10672364
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@92488 467b73ca-7a2a-4603-9d3b-597d59a354a9
26 lines
556 B
JavaScript
26 lines
556 B
JavaScript
/**
|
|
* $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
|
|
*
|
|
* @author Moxiecode - based on work by Andrew Tetlaw
|
|
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
|
|
*/
|
|
|
|
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);
|