From 670e83b30050201e3ac069c9dfa86a92aff2431d Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 30 May 2016 22:16:34 -0700 Subject: remove a bunch of unused stuff, some of which is orphaned and some which represents dead development efforts --- .../tiny_mce/plugins/emotions/js/emotions.js | 43 ---------------------- 1 file changed, 43 deletions(-) delete mode 100644 library/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js (limited to 'library/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js') diff --git a/library/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js b/library/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js deleted file mode 100644 index b360f20b6..000000000 --- a/library/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js +++ /dev/null @@ -1,43 +0,0 @@ -tinyMCEPopup.requireLangPack(); - -var EmotionsDialog = { - addKeyboardNavigation: function(){ - var tableElm, cells, settings; - - cells = tinyMCEPopup.dom.select("a.emoticon_link", "emoticon_table"); - - settings ={ - root: "emoticon_table", - items: cells - }; - cells[0].tabindex=0; - tinyMCEPopup.dom.addClass(cells[0], "mceFocus"); - if (tinymce.isGecko) { - cells[0].focus(); - } else { - setTimeout(function(){ - cells[0].focus(); - }, 100); - } - tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', settings, tinyMCEPopup.dom); - }, - init : function(ed) { - tinyMCEPopup.resizeToInnerSize(); - this.addKeyboardNavigation(); - }, - - 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); -- cgit v1.2.3