From 5b492db46109ea49dfc2b9c9f1fb27751629163b Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 16 Nov 2013 00:23:23 +0100 Subject: [PATCH] Ox.Label: don't fail if title is undefined --- source/Ox.UI/js/Form/Label.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Ox.UI/js/Form/Label.js b/source/Ox.UI/js/Form/Label.js index d11a67ff..9ce78c69 100644 --- a/source/Ox.UI/js/Form/Label.js +++ b/source/Ox.UI/js/Form/Label.js @@ -47,7 +47,7 @@ Ox.Label = function(options, self) { }, { textAlign: self.options.textAlign })) - .html(self.options.title); + .html(Ox.isUndefined(self.options.title) ? '' : self.options.title); return that;