1
0
mirror of https://github.com/e107inc/e107.git synced 2025-10-13 22:14:51 +02:00
Files
php-e107/e107_plugins/tinymce/plugins/xhtmlxtras/js/cite.js
2010-02-10 18:18:01 +00:00

26 lines
462 B
JavaScript

/**
* $Id$
*
* @author Moxiecode - based on work by Andrew Tetlaw
* @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
*/
function init() {
SXE.initElementDialog('cite');
if (SXE.currentAction == "update") {
SXE.showRemoveButton();
}
}
function insertCite() {
SXE.insertElement('cite');
tinyMCEPopup.close();
}
function removeCite() {
SXE.removeElement('cite');
tinyMCEPopup.close();
}
tinyMCEPopup.onInit.add(init);