diff options
| author | estadtherr <estadtherr@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-15 21:22:00 +0000 |
|---|---|---|
| committer | estadtherr <estadtherr@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-15 21:22:00 +0000 |
| commit | 422fde6e998684735cd18684e6273d564f825b2a (patch) | |
| tree | 4bcacec7d2901bdba4c138a51b4efb50ec670f81 /roundcubemail/program/js/tiny_mce/plugins/emotions/jscripts | |
| parent | 9cab47ca061b662473cf68f24f1667b813e0ee43 (diff) | |
HTML editing fixes, upgrade to TinyMCE v3.0.6
git-svn-id: https://svn.roundcube.net/trunk@1308 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/tiny_mce/plugins/emotions/jscripts')
| -rw-r--r-- | roundcubemail/program/js/tiny_mce/plugins/emotions/jscripts/functions.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/roundcubemail/program/js/tiny_mce/plugins/emotions/jscripts/functions.js b/roundcubemail/program/js/tiny_mce/plugins/emotions/jscripts/functions.js deleted file mode 100644 index 95a9eafe8..000000000 --- a/roundcubemail/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();
-}
|
