comparison public/javascripts/context_menu.js @ 1464:261b3d9a4903 redmine-2.4

Update to Redmine 2.4 branch rev 12663
author Chris Cannam
date Tue, 14 Jan 2014 14:37:42 +0000
parents 433d4f72a19b
children
comparison
equal deleted inserted replaced
1296:038ba2d95de8 1464:261b3d9a4903
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