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

26 lines
491 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('abbr');
if (SXE.currentAction == "update") {
SXE.showRemoveButton();
}
}
function insertAbbr() {
SXE.insertElement(tinymce.isIE ? 'html:abbr' : 'abbr');
tinyMCEPopup.close();
}
function removeAbbr() {
SXE.removeElement('abbr');
tinyMCEPopup.close();
}
tinyMCEPopup.onInit.add(init);