CoreFiles by mySites.guru
emotions.js22 lines, 519 bytes, from Joomla_1.7.4-Stable-Full_Package.zip
Raw History Compare with 1.7.3
md5
768ed76617dbe7fca0e7394c0f208681
sha1
24b56dd5ee95b7c94d8686cd4c465e0546499949
sha256
0f67c12d0747deb308082edf7db0ba3526eb0988e9c3c08b636e2c26bd3812b8
tinyMCEPopup.requireLangPack();

var EmotionsDialog = {
	init : function(ed) {
		tinyMCEPopup.resizeToInnerSize();
	},

	insert : function(file, title) {
		var ed = tinyMCEPopup.editor, dom = ed.dom;

		tinyMCEPopup.execCommand('mceInsertContent', false, dom.createHTML('img', {
			src : tinyMCEPopup.getWindowArg('plugin_url') + '/img/' + file,
			alt : ed.getLang(title),
			title : ed.getLang(title),
			border : 0
		}));

		tinyMCEPopup.close();
	}
};

tinyMCEPopup.onInit.add(EmotionsDialog.init, EmotionsDialog);

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