Browse Source

listview, never display event title as "undefined"

Adam Shaw 9 năm trước cách đây
mục cha
commit
e1b93dfe5d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/list/ListView.js

+ 1 - 1
src/list/ListView.js

@@ -248,7 +248,7 @@ var ListViewGrid = Grid.extend({
 			'</td>' +
 			'<td class="fc-list-item-title ' + view.widgetContentClass + '">' +
 				'<a' + (url ? ' href="' + htmlEscape(url) + '"' : '') + '>' +
-					htmlEscape(seg.event.title) +
+					htmlEscape(seg.event.title || '') +
 				'</a>' +
 			'</td>' +
 		'</tr>';