From 3412e50b54e3daac8745234e21ab6e72be0ed165 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Wed, 04 Jun 2014 11:20:33 -0400
Subject: [PATCH] Fix attachment menu structure and aria-attributes

---
 program/js/tiny_mce/themes/advanced/js/about.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/program/js/tiny_mce/themes/advanced/js/about.js b/program/js/tiny_mce/themes/advanced/js/about.js
index 9081e1d..5b35845 100644
--- a/program/js/tiny_mce/themes/advanced/js/about.js
+++ b/program/js/tiny_mce/themes/advanced/js/about.js
@@ -7,7 +7,7 @@
 	ed = tinyMCEPopup.editor;
 
 	// Give FF some time
-	window.setTimeout('insertHelpIFrame();', 10);
+	window.setTimeout(insertHelpIFrame, 10);
 
 	tcont = document.getElementById('plugintablecontainer');
 	document.getElementById('plugins_tab').style.display = 'none';
@@ -66,6 +66,7 @@
 		html = '<iframe width="100%" height="300" src="' + tinyMCEPopup.editor.baseURI.toAbsolute(tinyMCEPopup.getParam('docs_url')) + '"></iframe>';
 		document.getElementById('iframecontainer').innerHTML = html;
 		document.getElementById('help_tab').style.display = 'block';
+		document.getElementById('help_tab').setAttribute("aria-hidden", "false");
 	}
 }
 

--
Gitblit v1.9.1