mirror of
https://github.com/maxpozdeev/mytinytodo.git
synced 2026-03-11 08:55:27 +00:00
* visibility of add task inputbox now is controlled by readonly class only
This commit is contained in:
parent
9eb9fb19ad
commit
30c04f33e7
2 changed files with 1 additions and 4 deletions
|
|
@ -1381,13 +1381,10 @@ function liveSearchToggle(toSearch, dontLoad)
|
|||
{
|
||||
if(toSearch)
|
||||
{
|
||||
if(flag.readOnly) $('#htab_newtask').hide();
|
||||
$('#search').focus();
|
||||
}
|
||||
else
|
||||
{
|
||||
if(!flag.readOnly) $('#htab_newtask').show();
|
||||
|
||||
if($('#search').val() != '') {
|
||||
filter.search = '';
|
||||
$('#search').val('');
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ a { color:#0000ff; cursor:pointer; text-decoration:underline; }
|
|||
|
||||
#newtask_adv span { background:url(images/buttons.png) 0 -48px no-repeat; }
|
||||
#newtask_adv:hover span { background-position:-16px -48px; }
|
||||
#page_tasks.show-all-tasks #htab_newtask { display:none; }
|
||||
#page_tasks.show-all-tasks #htab_newtask, #page_tasks.readonly #htab_newtask { display:none; }
|
||||
|
||||
|
||||
/* Live Search */
|
||||
|
|
|
|||
Loading…
Reference in a new issue