mirror of
https://github.com/e107inc/e107.git
synced 2025-10-11 13:04:28 +02:00
Updated TinyMce to 3.2.5.
First incarnation of the admin configuration page added. Language file still to come.
This commit is contained in:
25
e107_plugins/tinymce/plugins/xhtmlxtras/js/acronym.js
Normal file
25
e107_plugins/tinymce/plugins/xhtmlxtras/js/acronym.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* $Id: acronym.js,v 1.1 2009-07-01 02:52:11 e107coders Exp $
|
||||
*
|
||||
* @author Moxiecode - based on work by Andrew Tetlaw
|
||||
* @copyright Copyright <20> 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);
|
Reference in New Issue
Block a user