Faris Ansari 8 роки тому
committed by Rushabh Mehta
джерело
коміт
6d6bb257a9
1 змінених файлів з 2 додано та 2 видалено
  1. +2
    -2
      frappe/public/js/frappe/views/gantt.js

+ 2
- 2
frappe/public/js/frappe/views/gantt.js Переглянути файл

@@ -743,7 +743,7 @@ var Bar = Class.extend({
}

function onmove_right(dx, dy) {
bar.finaldx = me.get_snap_position(me, bar, dx);
bar.finaldx = me.get_snap_position(dx);
me.update_bar_position(null, bar.owidth + bar.finaldx);
}
function onstop_right() {
@@ -965,7 +965,7 @@ var Bar = Class.extend({
update_details_position: function() {
var details_box = this.popover_group.select('.details-wrapper');
var pos = this.get_details_position();
details_box.transform("t" + pos.x + "," + pos.y);
details_box && details_box.transform("t" + pos.x + "," + pos.y);
},
unselect_all: function() {
this.canvas.selectAll('.bar-wrapper').forEach(function(el) {


Завантаження…
Відмінити
Зберегти