From cdbb488a4c140ffe87fd52f7ea7e8bd0dd95c50d Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Tue, 17 Apr 2012 18:33:38 +0000 Subject: [PATCH] Fix missing index --- etemplate/js/et2_widget_link.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_link.js b/etemplate/js/et2_widget_link.js index e6e0434150..a021af9b21 100644 --- a/etemplate/js/et2_widget_link.js +++ b/etemplate/js/et2_widget_link.js @@ -863,7 +863,7 @@ var et2_link_string = et2_valueWidget.extend([et2_IDetachedDOM], { { if(!this.options.only_app || this.options.only_app && _value[i].app == this.options.only_app) { - this._add_link(_value.id ? _value : {id:_value[i], app: _value.to_app}); + this._add_link(_value[i].id ? _value[i] : {id:_value[i], app: _value.to_app}); } } }