From f4fe3951c674cdb004eab42ea2d88c9ca7c67512 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 26 Mar 2012 23:28:35 +0000 Subject: [PATCH] If legacy option is '', it's not set - use default --- etemplate/js/et2_core_widget.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etemplate/js/et2_core_widget.js b/etemplate/js/et2_core_widget.js index 7f3680ef00..a45c87af66 100644 --- a/etemplate/js/et2_core_widget.js +++ b/etemplate/js/et2_core_widget.js @@ -486,6 +486,10 @@ var et2_widget = Class.extend({ if(typeof _target[_proto.legacyOptions[j]] === "undefined") { attrValue = splitted[j]; + + // Blank = not set + if(attrValue == "") continue; + var attr = _proto.attributes[_proto.legacyOptions[j]]; // If the attribute is marked as boolean, parse the