app/tiny_mce/plugins/xhtmlxtras/js/abbr.js
author Pawel Solyga <Pawel.Solyga@gmail.com>
Wed, 04 Mar 2009 20:50:27 +0000
changeset 1649 495171ad94c0
parent 154 d2377425d3f2
permissions -rwxr-xr-x
Rename unused loop variables to _ in soc.views.helper.params module. Patch by: Pawel Solyga Reviewed by: to-be-reviewed

 /**
 * $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('abbr');
	if (SXE.currentAction == "update") {
		SXE.showRemoveButton();
	}
}

function insertAbbr() {
	SXE.insertElement(tinymce.isIE ? 'html:abbr' : 'abbr');
	tinyMCEPopup.close();
}

function removeAbbr() {
	SXE.removeElement('abbr');
	tinyMCEPopup.close();
}

tinyMCEPopup.onInit.add(init);