For the todo list, when we add or edit a task, the form does not disturb the object, we have added a z-index property
This commit is contained in:
parent
3b6ae752dd
commit
71f0695a7f
4 changed files with 22 additions and 11 deletions
|
|
@ -57,15 +57,16 @@ function todo_list_show_success(req) {
|
|||
$('p_desc').value=getNodeText(tl_desc[0]);
|
||||
$('tl_id').value=getNodeText(tl_id[0]);
|
||||
$('add_todo_list').show();
|
||||
$('add').hide();
|
||||
} catch (e) { alert(e.message);}
|
||||
}
|
||||
function todo_list_show_error(request_json) {
|
||||
alert ('failure');
|
||||
}
|
||||
function add_todo() {
|
||||
$('add_todo_list').style.top=posY+offsetY;
|
||||
$('add_todo_list').style.left=posX+offsetX;
|
||||
|
||||
$('add_todo_list').show()
|
||||
$('add').hide();
|
||||
$('p_title').value='';
|
||||
|
||||
$('p_date').value='';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue