app/tiny_mce/plugins/xhtmlxtras/js/cite.js
author Pawel Solyga <Pawel.Solyga@gmail.com>
Tue, 24 Feb 2009 20:48:20 +0000
changeset 1494 4205f2f46e48
parent 154 d2377425d3f2
permissions -rwxr-xr-x
Reset the RELEASE_TAG to None (unreleased) now that the 0.4-20090224 release candidate branch has been created. Patch by: Pawel Solyga

 /**
 * $Id: editor_plugin_src.js 42 2006-08-08 14:32:24Z spocke $
 *
 * @author Moxiecode - based on work by Andrew Tetlaw
 * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
 */

function init() {
	SXE.initElementDialog('cite');
	if (SXE.currentAction == "update") {
		SXE.showRemoveButton();
	}
}

function insertCite() {
	SXE.insertElement('cite');
	tinyMCEPopup.close();
}

function removeCite() {
	SXE.removeElement('cite');
	tinyMCEPopup.close();
}

tinyMCEPopup.onInit.add(init);