Merge pull request #234 from mconf/fix-accessibilityProperties-0.81

Fixed chatBox AccessibilityProperties that was seted before being initia...
This commit is contained in:
Chad Pilkey 2013-08-23 06:59:20 -07:00
commit 695ece39c4

View File

@ -73,6 +73,8 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
import mx.controls.Button;
import mx.core.ScrollPolicy;
import flash.accessibility.AccessibilityProperties;
import org.bigbluebutton.common.LogUtil;
import org.bigbluebutton.core.UsersUtil;
import org.bigbluebutton.main.events.ShortcutEvent;
@ -169,6 +171,10 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
txtMsgArea.addEventListener(KeyboardEvent.KEY_UP, handleTextAreaKeyUpEvent);
queryForChatHistory();
if(chatMessagesList.accessibilityProperties == null)
chatMessagesList.accessibilityProperties = new AccessibilityProperties();
chatMessagesList.accessibilityProperties.description = ResourceUtil.getInstance().getString('bbb.accessibility.chat.initialDescription');
if(Capabilities.hasAccessibility)