Fix list portlet context -> Add action

This commit is contained in:
Nathan Gray 2013-06-03 20:58:28 +00:00
parent 91799eee19
commit 3115272e8a

View File

@ -344,7 +344,7 @@ app.home = AppJS.extend(
} }
action = action.parent; action = action.parent;
} }
if(typeof source == undefined) if(target_action == null)
{ {
var link = et2_createWidget('link-entry', {label: egw.lang('Add')}, this.portlet_container); var link = et2_createWidget('link-entry', {label: egw.lang('Add')}, this.portlet_container);
var dialog = et2_dialog.show_dialog( var dialog = et2_dialog.show_dialog(