tinyMCEPopup.requireLangPack();\r
\r
var EmotionsDialog = {\r
+ addKeyboardNavigation: function(){\r
+ var tableElm, cells, settings;\r
+ \r
+ cells = tinyMCEPopup.dom.select("a.emoticon_link", "emoticon_table");\r
+ \r
+ settings ={\r
+ root: "emoticon_table",\r
+ items: cells\r
+ };\r
+ cells[0].tabindex=0;\r
+ tinyMCEPopup.dom.addClass(cells[0], "mceFocus");\r
+ if (tinymce.isGecko) {\r
+ cells[0].focus(); \r
+ } else {\r
+ setTimeout(function(){\r
+ cells[0].focus();\r
+ }, 100);\r
+ }\r
+ tinyMCEPopup.editor.windowManager.createInstance('tinymce.ui.KeyboardNavigation', settings, tinyMCEPopup.dom);\r
+ }, \r
init : function(ed) {\r
tinyMCEPopup.resizeToInnerSize();\r
+ this.addKeyboardNavigation();\r
},\r
\r
insert : function(file, title) {\r