diff options
Diffstat (limited to 'install/ui/widget.js')
-rw-r--r-- | install/ui/widget.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js index 62af6c16d..83cb4dcb2 100644 --- a/install/ui/widget.js +++ b/install/ui/widget.js @@ -1471,11 +1471,11 @@ IPA.table_widget = function (spec) { that.empty(); that.values = result[that.name]; - if (!that.values) return; - - for (var i=0; i<that.values.length; i++) { - var record = that.get_record(result, i); - that.add_record(record); + if (that.values) { + for (var i=0; i<that.values.length; i++) { + var record = that.get_record(result, i); + that.add_record(record); + } } that.unselect_all(); }; |