Permalink
Browse files

talkback: fix IE bug with AN/ANI talkback

  • Loading branch information...
atlight committed Oct 9, 2011
1 parent d82e641 commit 41086d5b8b753361c4490f8e8222b3faf29b545c
Showing with 7 additions and 2 deletions.
  1. +7 −2 modules/friendlytalkback.js
@@ -174,7 +174,9 @@ Twinkle.talkback.callback.change_target = function friendlytagCallbackChangeTarg
work_area = work_area.render();
root.replaceChild( work_area, old_area );
root.message.value = Twinkle.talkback.prev_message;
if (root.message) {
root.message.value = Twinkle.talkback.prev_message;
}
};
Twinkle.talkback.callback.evaluate = function friendlytalkbackCallbackEvaluate(e) {
@@ -199,7 +201,10 @@ Twinkle.talkback.callback.evaluate = function friendlytalkbackCallbackEvaluate(e
page = e.target.noticeboard.value;
}
var message = e.target.message.value;
var message;
if (e.target.message) {
message = e.target.message.value;
}
SimpleWindow.setButtonsEnabled( false );
Status.init( e.target );

0 comments on commit 41086d5

Please sign in to comment.