From 74f52f22ff85f0ac08ee5075f190c469ab20cb6e Mon Sep 17 00:00:00 2001 From: yangfl Date: Wed, 10 Oct 2018 22:00:46 +0800 Subject: [PATCH] luci-mod-system: block install and search if no package lists Signed-off-by: David Yang --- .../luci-mod-system/luasrc/view/admin_system/packages.htm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/luci-mod-system/luasrc/view/admin_system/packages.htm b/modules/luci-mod-system/luasrc/view/admin_system/packages.htm index 280eabb8e..39582c6a9 100644 --- a/modules/luci-mod-system/luasrc/view/admin_system/packages.htm +++ b/modules/luci-mod-system/luasrc/view/admin_system/packages.htm @@ -102,16 +102,16 @@ end
- - + disabled="disabled" placeholder="<%:Please update package lists first%>"<% end %> value="" /> + disabled="disabled"<% end %> value="<%:OK%>" />
- - + disabled="disabled" placeholder="<%:Please update package lists first%>"<% else %>value="<%=pcdata(query)%>"<% end %> /> + disabled="disabled"<% end %> value="<%:Find package%>" />
-- 2.25.1