X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=modules%2Fadmin-full%2Fluasrc%2Fview%2Fadmin_system%2Fupgrade.htm;fp=modules%2Fadmin-full%2Fluasrc%2Fview%2Fadmin_system%2Fupgrade.htm;h=ae38cce91319a7a720a2c8537e3e908d3dee0020;hb=fd31bb2fcc2f0ee8d2b2684756443e17be3d4a38;hp=b4c9d1241be6e8ee38692b2216a7775e2b752826;hpb=2fabf92cf03cde1290705c2b0041349fa3bbb827;p=project%2Fluci.git diff --git a/modules/admin-full/luasrc/view/admin_system/upgrade.htm b/modules/admin-full/luasrc/view/admin_system/upgrade.htm index b4c9d1241..ae38cce91 100644 --- a/modules/admin-full/luasrc/view/admin_system/upgrade.htm +++ b/modules/admin-full/luasrc/view/admin_system/upgrade.htm @@ -16,12 +16,13 @@ $Id$ <%+header%>
<%:admin_upgrade_uploaded The flash image was uploaded.
@@ -51,7 +57,7 @@ $Id$
compare them with the original file to ensure data integrity.
Click "Proceed" below to start the flash procedure. %>
- <% if filesize > flashsize then %>
+ <% if flashsize > 0 and filesize > flashsize then %>