Merge pull request #1818 from dibdot/lxc_fix

luci-app-lxc: remove wrong leftover from last commit
This commit is contained in:
Dirk Brenken 2018-05-24 00:26:42 +02:00 committed by GitHub
commit 59d91d8a72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -389,9 +389,6 @@ table.cbi-section-table td,
function set_empty_template() function set_empty_template()
{ {
if (document.getElementById('tr_holder') !== null)
return
var row_count = t_lxc_create.rows.length; var row_count = t_lxc_create.rows.length;
while(--row_count) t_lxc_create.deleteRow(row_count); while(--row_count) t_lxc_create.deleteRow(row_count);