luci-app-lxc: remove wrong leftover from last commit 1818/head
authorDirk Brenken <dev@brenken.org>
Wed, 23 May 2018 22:25:36 +0000 (00:25 +0200)
committerGitHub <noreply@github.com>
Wed, 23 May 2018 22:25:36 +0000 (00:25 +0200)
Signed-off-by: Dirk Brenken <dev@brenken.org>
applications/luci-app-lxc/luasrc/view/lxc.htm

index c1b44f8..5b1fb04 100644 (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;
                while(--row_count) t_lxc_create.deleteRow(row_count);
 
                var row_count = t_lxc_create.rows.length;
                while(--row_count) t_lxc_create.deleteRow(row_count);