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
This commit is contained in:
parent
2ad0465864
commit
89847f9269
|
@ -186,7 +186,7 @@ function contextMenuCheckSelectionBox(tr, checked) {
|
||||||
function contextMenuClearDocumentSelection() {
|
function contextMenuClearDocumentSelection() {
|
||||||
// TODO
|
// TODO
|
||||||
if (document.selection) {
|
if (document.selection) {
|
||||||
document.selection.clear(); // IE
|
document.selection.empty(); // IE
|
||||||
} else {
|
} else {
|
||||||
window.getSelection().removeAllRanges();
|
window.getSelection().removeAllRanges();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue