From c7525de61a84ae625c8c06046f4b15956f55176f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 18 Apr 2013 15:59:30 +0000 Subject: [PATCH] dont fail on undefined values --- static/js/pandora/infoView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/infoView.js b/static/js/pandora/infoView.js index 11757a01..ce37a179 100644 --- a/static/js/pandora/infoView.js +++ b/static/js/pandora/infoView.js @@ -147,7 +147,7 @@ pandora.ui.infoView = function(data) { Ox.Editable({ editable: canEdit, tooltip: canEdit ? pandora.getEditTooltip() : '', - value: data.title + value: data.title || '' }) .css({ display: 'inline-block', @@ -387,7 +387,7 @@ pandora.ui.infoView = function(data) { placeholder: formatLight('No notes'), tooltip: pandora.getEditTooltip(), type: 'textarea', - value: data.notes, + value: data.notes || '', width: 128 }) .bindEvent({