comparison public/javascripts/context_menu.js @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 622f24f53b42
children
comparison
equal deleted inserted replaced
1297:0a574315af3e 1298:4f746d8966dd
184 } 184 }
185 185
186 function contextMenuClearDocumentSelection() { 186 function contextMenuClearDocumentSelection() {
187 // TODO 187 // TODO
188 if (document.selection) { 188 if (document.selection) {
189 document.selection.clear(); // IE 189 document.selection.empty(); // IE
190 } else { 190 } else {
191 window.getSelection().removeAllRanges(); 191 window.getSelection().removeAllRanges();
192 } 192 }
193 } 193 }
194 194