includes/clientside/tinymce/plugins/xhtmlxtras/jscripts/cite.js
changeset 335 67bd3121a12e
parent 334 c72b545f1304
child 336 bfa2e9c23f03
equal deleted inserted replaced
334:c72b545f1304 335:67bd3121a12e
     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-2007, Moxiecode Systems AB, All rights reserved.
       
     6  */
       
     7 
       
     8 function preinit() {
       
     9 	// Initialize
       
    10 	tinyMCE.setWindowArg('mce_windowresize', false);
       
    11 }
       
    12 
       
    13 function init() {
       
    14 	tinyMCEPopup.resizeToInnerSize();
       
    15 	SXE.initElementDialog('cite');
       
    16 	if (SXE.currentAction == "update") {
       
    17 		SXE.showRemoveButton();
       
    18 	}
       
    19 }
       
    20 
       
    21 function insertCite() {
       
    22 	SXE.insertElement('cite');
       
    23 	tinyMCEPopup.close();
       
    24 }
       
    25 
       
    26 function removeCite() {
       
    27 	SXE.removeElement('cite');
       
    28 	tinyMCEPopup.close();
       
    29 }