From 3115272e8aee4354b2e4ba706f3f5bd70c4205a9 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 3 Jun 2013 20:58:28 +0000 Subject: [PATCH] Fix list portlet context -> Add action --- home/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/js/app.js b/home/js/app.js index 06d8b99574..bee8aff78c 100644 --- a/home/js/app.js +++ b/home/js/app.js @@ -344,7 +344,7 @@ app.home = AppJS.extend( } 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 dialog = et2_dialog.show_dialog(