mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 18:08:21 +01:00
- Refresh filter even if it's not dirty, since it changed
- Bind delete prompt to right click on link while avoiding conflict with action system
This commit is contained in:
parent
e8fef0847c
commit
866fbb65bc
@ -445,7 +445,15 @@ var et2_gantt = et2_valueWidget.extend([et2_IResizeable,et2_IInput],
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.gantt.attachEvent("onContextMenu",function(taskId, linkId, e) {
|
this.gantt.attachEvent("onContextMenu",function(taskId, linkId, e) {
|
||||||
|
if(taskId)
|
||||||
|
{
|
||||||
gantt_widget._link_task(taskId);
|
gantt_widget._link_task(taskId);
|
||||||
|
}
|
||||||
|
else if (linkId)
|
||||||
|
{
|
||||||
|
this._delete_link_handler(linkId,e)
|
||||||
|
e.stopPropagation();
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
})
|
})
|
||||||
// Double click
|
// Double click
|
||||||
@ -576,7 +584,7 @@ var et2_gantt = et2_valueWidget.extend([et2_IResizeable,et2_IInput],
|
|||||||
var result = widget_change.call(_widget,_node);
|
var result = widget_change.call(_widget,_node);
|
||||||
|
|
||||||
// Update filters
|
// Update filters
|
||||||
if(result && _widget.isDirty()) {
|
if(result) {
|
||||||
// Update dirty
|
// Update dirty
|
||||||
_widget._oldValue = _widget.getValue();
|
_widget._oldValue = _widget.getValue();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user