Browse Source

Merge pull request 'upload 2023-12-28' (#73) from staging into master

Reviewed-on: ordo/adw-gantt#73
pull/1/head
farhantock 11 months ago
parent
commit
839712c056
  1. 1
      view-mode/function/function.js
  2. 2
      view-mode/function/ganttSettings.js

1
view-mode/function/function.js

@ -241,6 +241,7 @@ function initialProperty()
let data = result.data; let data = result.data;
if(data.status && data.status=="not have"){ if(data.status && data.status=="not have"){
toggleCollapseTasks(); toggleCollapseTasks();
gantt.ext.zoom.setLevel("month");
}else{ }else{
if(data.id){ if(data.id){
userToVersionGanttId = data.id userToVersionGanttId = data.id

2
view-mode/function/ganttSettings.js

@ -239,7 +239,7 @@ async function initHolidays(){
async function initGanttSettings() { async function initGanttSettings() {
console.log('initGanttSettings'); console.log('initGanttSettings');
// if zoom is day // if zoom is day
$("#scale1").attr('checked', true); $("#scale3").attr('checked', true);
// toggleCollapseTasks(); // toggleCollapseTasks();
// init to gantt chart view (holidays) // init to gantt chart view (holidays)

Loading…
Cancel
Save