diff --git a/js/repeater-list.js b/js/repeater-list.js index 54127f4aa..71b5dca91 100755 --- a/js/repeater-list.js +++ b/js/repeater-list.js @@ -739,7 +739,12 @@ $table.append($tbody); } - if (data.items && data.items.length < 1) { + if (typeof data.error === 'string' && data.error.length > 0) { + $empty = $('