From 89847f92697880628587741de947f6035d0e3fbb Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 1 May 2013 12:52:37 +0000 Subject: [PATCH] Fixed: Lost text after selection in issue list with IE (#12650). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11750 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/javascripts/context_menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/context_menu.js b/public/javascripts/context_menu.js index 6c0b36414..a3e1545b2 100644 --- a/public/javascripts/context_menu.js +++ b/public/javascripts/context_menu.js @@ -186,7 +186,7 @@ function contextMenuCheckSelectionBox(tr, checked) { function contextMenuClearDocumentSelection() { // TODO if (document.selection) { - document.selection.clear(); // IE + document.selection.empty(); // IE } else { window.getSelection().removeAllRanges(); }