mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
Fix invalid jquery selectors in tracks.js
This commit is contained in:
parent
ea0d4eb0c7
commit
f07a028843
1 changed files with 3 additions and 3 deletions
|
|
@ -795,7 +795,7 @@ var ProjectListPage = {
|
|||
|
||||
/* submit project form after entering new project */
|
||||
$("form#project_form button.positive").live('click', function (ev) {
|
||||
submit_with_ajax_and_block_element('form.#project_form', $(this));
|
||||
submit_with_ajax_and_block_element('form#project_form', $(this));
|
||||
return false;
|
||||
});
|
||||
|
||||
|
|
@ -881,7 +881,7 @@ var ContextListPage = {
|
|||
|
||||
/* submit form for new context in sidebar */
|
||||
$("form#context-form button.positive").live('click', function (ev) {
|
||||
submit_with_ajax_and_block_element('form.#context-form', $(this));
|
||||
submit_with_ajax_and_block_element('form#context-form', $(this));
|
||||
return false;
|
||||
});
|
||||
|
||||
|
|
@ -1020,7 +1020,7 @@ var RecurringTodosPage = {
|
|||
buttons: {
|
||||
create: {
|
||||
text: i18n['common.create'],
|
||||
click: function() { submit_with_ajax_and_block_element('form.#recurring-todo-form-new-action', $(this).parents(".ui-dialog")); },
|
||||
click: function() { submit_with_ajax_and_block_element('form#recurring-todo-form-new-action', $(this).parents(".ui-dialog")); },
|
||||
},
|
||||
cancel: {
|
||||
text: i18n['common.cancel'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue