CoreFiles by mySites.guru
cite.js28 lines, 513 bytes, from Joomla_2.5.21-Stable-Full_Package.zip
Raw History Compare with 2.5.20
md5
0a4c237a7bf3e54d8c08d1e912e199be
sha1
7cb208a16bd995927af9cd8af6826ef6f31b04fd
sha256
e5a9507fcea10cf3109e94e5f2a7dbb51228a55d31a9c32a256a71111da7948a
/**
 * cite.js
 *
 * Copyright 2009, Moxiecode Systems AB
 * Released under LGPL License.
 *
 * License: http://tinymce.moxiecode.com/license
 * Contributing: http://tinymce.moxiecode.com/contributing
 */

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);

The same content is in 51 releases, Joomla 1.6.0 to 3.1.6. See them all, or every version of this file.