Prevent dashboard from breaking if item value is null

This commit is contained in:
bfederle 2012-03-20 08:23:10 -07:00
parent 2dd328fac4
commit 8ec783866b
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@
}
$.each(item, function(arrayKey, arrayValue) {
if (!arrayValue) arrayValue = '';
var $arrayElem = $li.find('[data-list-item=' + arrayKey + ']');
$arrayElem.each(function() {