includes/clientside/tinymce/plugins/xhtmlxtras/jscripts/cite.js
author Dan
Sun, 28 Oct 2007 16:40:24 -0400
changeset 210 2b283402e4e4
parent 1 fe660c52c48f
permissions -rw-r--r--
Added language export to JSON page and localization for Javascript using $lang.get(). Localized AJAX login interface.

 /**
 * $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();
}