Mercurial > hg > soundsoftware-site
comparison public/javascripts/context_menu.js @ 1295:622f24f53b42 redmine-2.3
Update to Redmine SVN revision 11972 on 2.3-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:02:21 +0100 |
parents | 433d4f72a19b |
children |
comparison
equal
deleted
inserted
replaced
1294:3e4c3460b6ca | 1295:622f24f53b42 |
---|---|
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 |