From c675cd558ef712e6a6710417e4b9c4ce3d15b049 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 20 Jan 2014 15:19:38 +0000 Subject: [PATCH] Don't initialize href, fixes href = "" on every image --- etemplate/js/et2_widget_image.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/js/et2_widget_image.js b/etemplate/js/et2_widget_image.js index 139e6034ef..e353c56bd8 100644 --- a/etemplate/js/et2_widget_image.js +++ b/etemplate/js/et2_widget_image.js @@ -34,7 +34,8 @@ var et2_image = et2_baseWidget.extend([et2_IDetachedDOM], "href": { "name": "Link Target", "type": "string", - "description": "Link URL, empty if you don't wan't to display a link." + "description": "Link URL, empty if you don't wan't to display a link.", + "default": et2_no_init }, "extra_link_target": { "name": "Link target",