mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-07 01:38:50 +01:00
also update default_project_name
New actions are created with the project as defined in default_project_name. This value needs to be updated as shown in #1789.
This commit is contained in:
parent
ae4ce272ff
commit
f8f7762b94
5 changed files with 14 additions and 8 deletions
|
|
@ -13,9 +13,6 @@ var TracksForm = {
|
|||
}
|
||||
toggleLink.parent().toggleClass('hide_form');
|
||||
},
|
||||
set_project_name: function (name) {
|
||||
$('input#todo_project_name').val(name);
|
||||
},
|
||||
set_project_name_for_multi_add: function (name) {
|
||||
$('#multi_todo_project_name').val(name);
|
||||
},
|
||||
|
|
@ -30,9 +27,8 @@ var TracksForm = {
|
|||
$('input[name=default_context_name]').val(name);
|
||||
},
|
||||
set_project_name_and_default_project_name: function (name) {
|
||||
TracksForm.set_project_name('');
|
||||
$('input#todo_project_name').val(name);
|
||||
$('#default_project_name_id').val(name);
|
||||
$('#project_name').html(name);
|
||||
},
|
||||
set_tag_list_and_default_tag_list: function (name) {
|
||||
$('input#tag_list').val(name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue