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