summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-opkg/htdocs/luci-static
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-opkg/htdocs/luci-static')
-rw-r--r--applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js b/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js
index a5abfc168c..fe5600e880 100644
--- a/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js
+++ b/applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js
@@ -181,7 +181,7 @@ function parseList(s, dest)
key = RegExp.$1.toLowerCase();
val = RegExp.$2.trim();
}
- else {
+ else if (pkg) {
dest.pkgs[pkg.name] = pkg;
var provides = dest.providers[pkg.name] ? [] : [ pkg.name ];
@@ -1064,13 +1064,13 @@ return view.extend({
])
]),
- E('div', { 'id': 'packages', 'class': 'table' }, [
- E('div', { 'class': 'tr cbi-section-table-titles' }, [
- E('div', { 'class': 'th col-2 left' }, [ _('Package name') ]),
- E('div', { 'class': 'th col-2 left version' }, [ _('Version') ]),
- E('div', { 'class': 'th col-1 center size'}, [ _('Size (.ipk)') ]),
- E('div', { 'class': 'th col-10 left' }, [ _('Description') ]),
- E('div', { 'class': 'th right cbi-section-actions' }, [ '\u00a0' ])
+ E('table', { 'id': 'packages', 'class': 'table' }, [
+ E('tr', { 'class': 'tr cbi-section-table-titles' }, [
+ E('th', { 'class': 'th col-2 left' }, [ _('Package name') ]),
+ E('th', { 'class': 'th col-2 left version' }, [ _('Version') ]),
+ E('th', { 'class': 'th col-1 center size'}, [ _('Size (.ipk)') ]),
+ E('th', { 'class': 'th col-10 left' }, [ _('Description') ]),
+ E('th', { 'class': 'th right cbi-section-actions' }, [ '\u00a0' ])
])
])
]);