mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-22 10:10:12 +01:00
Have a Star option on task entry screens #928
This commit is contained in:
parent
f4a07110ff
commit
c45b11dc70
8 changed files with 29 additions and 17 deletions
|
|
@ -74,6 +74,10 @@ var TracksForm = {
|
|||
$(this).prev().val('');
|
||||
});
|
||||
|
||||
$("#new_todo_starred_link").click(function() {
|
||||
$("#new_todo_starred").val($(this).children(".todo_star").toggleClass("starred").hasClass("starred"));
|
||||
});
|
||||
|
||||
/* submit todo form after entering new todo */
|
||||
$("button#todo_new_action_submit").live('click', function (ev) {
|
||||
if ($('input#predecessor_input').val() != "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue