mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +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) {
|
||||
gantt_widget._link_task(taskId);
|
||||
if(taskId)
|
||||
{
|
||||
gantt_widget._link_task(taskId);
|
||||
}
|
||||
else if (linkId)
|
||||
{
|
||||
this._delete_link_handler(linkId,e)
|
||||
e.stopPropagation();
|
||||
}
|
||||
return false;
|
||||
})
|
||||
// Double click
|
||||
@ -576,7 +584,7 @@ var et2_gantt = et2_valueWidget.extend([et2_IResizeable,et2_IInput],
|
||||
var result = widget_change.call(_widget,_node);
|
||||
|
||||
// Update filters
|
||||
if(result && _widget.isDirty()) {
|
||||
if(result) {
|
||||
// Update dirty
|
||||
_widget._oldValue = _widget.getValue();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user