includes/clientside/tinymce/plugins/xhtmlxtras/js/acronym.js
changeset 1344 dc96d6c5cd1e
parent 1343 2a31905a567d
child 1345 1de01205143b
equal deleted inserted replaced
1343:2a31905a567d 1344:dc96d6c5cd1e
     1  /**
       
     2  * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
       
     3  *
       
     4  * @author Moxiecode - based on work by Andrew Tetlaw
       
     5  * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
       
     6  */
       
     7 
       
     8 function init() {
       
     9 	SXE.initElementDialog('acronym');
       
    10 	if (SXE.currentAction == "update") {
       
    11 		SXE.showRemoveButton();
       
    12 	}
       
    13 }
       
    14 
       
    15 function insertAcronym() {
       
    16 	SXE.insertElement('acronym');
       
    17 	tinyMCEPopup.close();
       
    18 }
       
    19 
       
    20 function removeAcronym() {
       
    21 	SXE.removeElement('acronym');
       
    22 	tinyMCEPopup.close();
       
    23 }
       
    24 
       
    25 tinyMCEPopup.onInit.add(init);