mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Task adjustments
This commit is contained in:
parent
95029c9364
commit
54c7aebb1c
@ -152,6 +152,7 @@ class TaskRepository extends BaseRepository
|
||||
$task = Task::scope($publicId)->withTrashed()->firstOrFail();
|
||||
} else {
|
||||
$task = Task::createNew();
|
||||
$task->task_status_sort_order = 9999;
|
||||
}
|
||||
|
||||
if ($task->is_deleted) {
|
||||
|
@ -273,7 +273,7 @@
|
||||
if (model.is_sending_request()) {
|
||||
setTimeout(function() {
|
||||
self.ajax(method, url, data, callback);
|
||||
}, 1000);
|
||||
}, 1500);
|
||||
return;
|
||||
}
|
||||
model.is_sending_request(true);
|
||||
@ -294,7 +294,7 @@
|
||||
}).always(function() {
|
||||
setTimeout(function() {
|
||||
model.is_sending_request(false);
|
||||
}, 1000);
|
||||
}, 1500);
|
||||
});
|
||||
}
|
||||
|
||||
@ -709,7 +709,7 @@
|
||||
</div><br/>
|
||||
</div>
|
||||
|
||||
<div data-bind="sortable: { data: tasks, as: 'task', afterMove: onTaskDragged, allowDrop: true, connectClass: 'connect-row' }" style="min-height:32px;">
|
||||
<div data-bind="sortable: { data: tasks, as: 'task', afterMove: onTaskDragged, allowDrop: true, connectClass: 'connect-row' }" style="min-height:28px;">
|
||||
<div class="kanban-column-row" data-bind="css: { editing: is_editing_task }, visible: task.matchesFilter($root.filter(), $root.filter_client_id(), $root.filter_project_id())">
|
||||
<div class="view" data-bind="event: { click: startEditTask }">
|
||||
<div class="panel" data-bind="css: { running: is_running, hovered: is_panel_hovered }, event: { mouseover: onPanelMouseOver, mouseout: onPanelMouseOut }">
|
||||
|
@ -297,7 +297,7 @@
|
||||
}).always(function() {
|
||||
setTimeout(function() {
|
||||
model.sendingBulkRequest(false);
|
||||
}, 1000);
|
||||
}, 1500);
|
||||
});
|
||||
}
|
||||
|
||||
@ -755,7 +755,7 @@
|
||||
}).always(function() {
|
||||
setTimeout(function() {
|
||||
model.sendingRequest(false);
|
||||
}, 1000);
|
||||
}, 1500);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user