diff options
author | svncommit <devs@roundcube.net> | 2008-04-15 21:22:00 +0000 |
---|---|---|
committer | svncommit <devs@roundcube.net> | 2008-04-15 21:22:00 +0000 |
commit | d9344fc349e8c5765898c90bf5061e56cd21c8a0 (patch) | |
tree | a5916f5f3f88df8d6336b43dde8cdbb49cb47bdc /program/js/tiny_mce/plugins/emotions/jscripts | |
parent | d7a411f099596cbc8e749e1f0802ac2bb2c6289e (diff) |
HTML editing fixes, upgrade to TinyMCE v3.0.6
Diffstat (limited to 'program/js/tiny_mce/plugins/emotions/jscripts')
-rw-r--r-- | program/js/tiny_mce/plugins/emotions/jscripts/functions.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/program/js/tiny_mce/plugins/emotions/jscripts/functions.js b/program/js/tiny_mce/plugins/emotions/jscripts/functions.js deleted file mode 100644 index 95a9eafe8..000000000 --- a/program/js/tiny_mce/plugins/emotions/jscripts/functions.js +++ /dev/null @@ -1,21 +0,0 @@ -function init() {
- tinyMCEPopup.resizeToInnerSize();
-}
-
-function insertEmotion(file_name, title) {
- title = tinyMCE.getLang(title);
-
- if (title == null)
- title = "";
-
- // XML encode
- title = title.replace(/&/g, '&');
- title = title.replace(/\"/g, '"');
- title = title.replace(/</g, '<');
- title = title.replace(/>/g, '>');
-
- var html = '<img src="' + tinyMCE.baseURL + "/plugins/emotions/images/" + file_name + '" mce_src="' + tinyMCE.baseURL + "/plugins/emotions/images/" + file_name + '" border="0" alt="' + title + '" title="' + title + '" />';
-
- tinyMCE.execCommand('mceInsertContent', false, html);
- tinyMCEPopup.close();
-}
|