Bug 629978 - [SeaMonkey] mochitest-plain-3: 2 permanent "test_bug629172.html | Textarea should appear correctly after switching the direction ..."; (Cv1) Revert utilityOverlay.js part of patch Bv1.
authorSerge Gautherie <sgautherie.bz@free.fr>
Tue, 08 Feb 2011 11:52:18 +0100
changeset 7104 f4fb75b34428e45fe155ce81dd06256e3158f15b
parent 7103 b13f071ca3478087d8cdbe7a51b56721885b0495
child 7105 a2a509f93d82c47f664e1c64712efed2fa0c9fda
push idunknown
push userunknown
push dateunknown
bugs629978, 629172
Bug 629978 - [SeaMonkey] mochitest-plain-3: 2 permanent "test_bug629172.html | Textarea should appear correctly after switching the direction ..."; (Cv1) Revert utilityOverlay.js part of patch Bv1. r=neil.
suite/common/utilityOverlay.js
--- a/suite/common/utilityOverlay.js
+++ b/suite/common/utilityOverlay.js
@@ -698,16 +698,18 @@ function goUpdateGlobalEditMenuItems()
 {
   goUpdateCommand('cmd_undo');
   goUpdateCommand('cmd_redo');
   goUpdateCommand('cmd_cut');
   goUpdateCommand('cmd_copy');
   goUpdateCommand('cmd_paste');
   goUpdateCommand('cmd_selectAll');
   goUpdateCommand('cmd_delete');
+  if (gShowBiDi)
+    goUpdateCommand('cmd_switchTextDirection');
 }
 
 // update menu items that rely on the current selection
 function goUpdateSelectEditMenuItems()
 {
   goUpdateCommand('cmd_cut');
   goUpdateCommand('cmd_copy');
   goUpdateCommand('cmd_delete');