1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 22:54:25 +01:00

Working on time tracker

This commit is contained in:
Hillel Coren 2017-09-25 14:15:45 +03:00
parent c03d5a95c6
commit 7fe378fdf0

View File

@ -51,6 +51,7 @@
if (action == 'archive' || action == 'delete') { if (action == 'archive' || action == 'delete') {
self.removeTask(task); self.removeTask(task);
self.selectTask(false); self.selectTask(false);
$('#search').focus();
} }
if (action == 'archive') { if (action == 'archive') {
toastr.success("{{ trans('texts.archived_task') }}"); toastr.success("{{ trans('texts.archived_task') }}");
@ -302,9 +303,6 @@
if (task == self.selectedTask()) { if (task == self.selectedTask()) {
task = false; task = false;
if (! $('#search').is(':focus')) {
$('#search').focus();
}
} }
// if a client is selected the project list will be filtered // if a client is selected the project list will be filtered