Blame view

js/_tiny_mce/plugins/xhtmlxtras/jscripts/cite.js 607 Bytes
42868d70   andryeyev   Создал GIT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
   /**
   * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
   *
   * @author Moxiecode - based on work by Andrew Tetlaw
   * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.
   */
  
  function preinit() {
  	// Initialize
  	tinyMCE.setWindowArg('mce_windowresize', false);
  }
  
  function init() {
  	tinyMCEPopup.resizeToInnerSize();
  	SXE.initElementDialog('cite');
  	if (SXE.currentAction == "update") {
  		SXE.showRemoveButton();
  	}
  }
  
  function insertCite() {
  	SXE.insertElement('cite');
  	tinyMCEPopup.close();
  }
  
  function removeCite() {
  	SXE.removeElement('cite');
  	tinyMCEPopup.close();
  }