diff options
Diffstat (limited to 'public/javascripts/tiny_mce/plugins/emotions/js/emotions.js')
| -rw-r--r-- | public/javascripts/tiny_mce/plugins/emotions/js/emotions.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/public/javascripts/tiny_mce/plugins/emotions/js/emotions.js b/public/javascripts/tiny_mce/plugins/emotions/js/emotions.js deleted file mode 100644 index c549367..0000000 --- a/public/javascripts/tiny_mce/plugins/emotions/js/emotions.js +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | tinyMCEPopup.requireLangPack(); | ||
| 2 | |||
| 3 | var EmotionsDialog = { | ||
| 4 | init : function(ed) { | ||
| 5 | tinyMCEPopup.resizeToInnerSize(); | ||
| 6 | }, | ||
| 7 | |||
| 8 | insert : function(file, title) { | ||
| 9 | var ed = tinyMCEPopup.editor, dom = ed.dom; | ||
| 10 | |||
| 11 | tinyMCEPopup.execCommand('mceInsertContent', false, dom.createHTML('img', { | ||
| 12 | src : tinyMCEPopup.getWindowArg('plugin_url') + '/img/' + file, | ||
| 13 | alt : ed.getLang(title), | ||
| 14 | title : ed.getLang(title), | ||
| 15 | border : 0 | ||
| 16 | })); | ||
| 17 | |||
| 18 | tinyMCEPopup.close(); | ||
| 19 | } | ||
| 20 | }; | ||
| 21 | |||
| 22 | tinyMCEPopup.onInit.add(EmotionsDialog.init, EmotionsDialog); | ||
