|
|
@ -118,6 +118,7 @@ $(document).ready(function() { |
|
|
|
if (result && result.status === 200) { |
|
|
|
if (result && result.status === 200) { |
|
|
|
$('#modal_gantt_setting').modal('hide'); |
|
|
|
$('#modal_gantt_setting').modal('hide'); |
|
|
|
gantt.message("Settings updated"); |
|
|
|
gantt.message("Settings updated"); |
|
|
|
|
|
|
|
refresData(); |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
else { |
|
|
|
gantt.alert({type: "error", text: "Failed to update setting"}); |
|
|
|
gantt.alert({type: "error", text: "Failed to update setting"}); |
|
|
|