mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
* clear selection after doubleclick on task
This commit is contained in:
parent
8a89b2845e
commit
fd4849a737
1 changed files with 3 additions and 0 deletions
|
|
@ -278,6 +278,9 @@ function editTask(id)
|
|||
if(sel.options[i].value == item.prio) sel.options[i].selected = true;
|
||||
}
|
||||
$('<div id="overlay"></div>').appendTo('body').css('opacity', 0.5).show();
|
||||
//clear selection
|
||||
if(document.selection && document.selection.empty) document.selection.empty();
|
||||
else if(window.getSelection) window.getSelection().removeAllRanges();
|
||||
var w = $('#page_taskedit');
|
||||
if(!flag.windowTaskEditMoved)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue