This commit is contained in:
@@ -25,8 +25,7 @@
|
||||
3698 - hide unassigned tech slot (or case 3697 above would take care of that too)
|
||||
|
||||
Issues in svc-schedule
|
||||
day view extend triggers more info, probably need to distinguish events because two are firing likely
|
||||
like the drag issue
|
||||
day or category view once moreinfo then subsequent drags or extend causes moreinfo again, something isn't being cleared out on moreinfo I think
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -684,22 +684,22 @@ export default {
|
||||
if (!tms.category && this.viewType == "category") {
|
||||
return;
|
||||
}
|
||||
//console.log("startTime, tms:", JSON.stringify(tms));
|
||||
console.log("startTime, tms:", JSON.stringify(tms));
|
||||
//This is called on the start of dragging an existing schedule item or drag extending a NEW schedule item
|
||||
const mouse = this.toTime(tms);
|
||||
if (this.dragEvent && this.dragTime === null) {
|
||||
//console.log("startTime drag path");
|
||||
console.log("startTime drag path");
|
||||
//# DAY VIEW *DRAG* EXISTING START EVENT (not extend)
|
||||
//(also called on simple click to view schedule more info)
|
||||
if (this.dragEvent.editable) {
|
||||
const start = this.dragEvent.start;
|
||||
this.dragTime = mouse - start;
|
||||
} else {
|
||||
// console.log("startTime NOT EDITABLE!");
|
||||
console.log("startTime NOT EDITABLE!");
|
||||
}
|
||||
} else {
|
||||
//# DAY VIEW CREATE START EVENT
|
||||
// console.log("startTime create start path");
|
||||
console.log("startTime create start path");
|
||||
this.createStart = this.roundTime(mouse);
|
||||
this.extendEvent = {
|
||||
name: "-",
|
||||
|
||||
Reference in New Issue
Block a user