mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +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();
|
$task = Task::scope($publicId)->withTrashed()->firstOrFail();
|
||||||
} else {
|
} else {
|
||||||
$task = Task::createNew();
|
$task = Task::createNew();
|
||||||
|
$task->task_status_sort_order = 9999;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($task->is_deleted) {
|
if ($task->is_deleted) {
|
||||||
|
@ -273,7 +273,7 @@
|
|||||||
if (model.is_sending_request()) {
|
if (model.is_sending_request()) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
self.ajax(method, url, data, callback);
|
self.ajax(method, url, data, callback);
|
||||||
}, 1000);
|
}, 1500);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
model.is_sending_request(true);
|
model.is_sending_request(true);
|
||||||
@ -294,7 +294,7 @@
|
|||||||
}).always(function() {
|
}).always(function() {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
model.is_sending_request(false);
|
model.is_sending_request(false);
|
||||||
}, 1000);
|
}, 1500);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -709,7 +709,7 @@
|
|||||||
</div><br/>
|
</div><br/>
|
||||||
</div>
|
</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="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="view" data-bind="event: { click: startEditTask }">
|
||||||
<div class="panel" data-bind="css: { running: is_running, hovered: is_panel_hovered }, event: { mouseover: onPanelMouseOver, mouseout: onPanelMouseOut }">
|
<div class="panel" data-bind="css: { running: is_running, hovered: is_panel_hovered }, event: { mouseover: onPanelMouseOver, mouseout: onPanelMouseOut }">
|
||||||
|
@ -297,7 +297,7 @@
|
|||||||
}).always(function() {
|
}).always(function() {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
model.sendingBulkRequest(false);
|
model.sendingBulkRequest(false);
|
||||||
}, 1000);
|
}, 1500);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -755,7 +755,7 @@
|
|||||||
}).always(function() {
|
}).always(function() {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
model.sendingRequest(false);
|
model.sendingRequest(false);
|
||||||
}, 1000);
|
}, 1500);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user