From 87500311f12cb7c2768e8ce4e138847f9283e4b6 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Wed, 16 Apr 2008 14:45:27 +0000 Subject: Added some tabs to the roles file. Some graphical bugfixes on the lib/viewfunction.lua git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1024 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lib/viewfunctions.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/viewfunctions.lua') diff --git a/lib/viewfunctions.lua b/lib/viewfunctions.lua index 42b4d96..d69f2cc 100644 --- a/lib/viewfunctions.lua +++ b/lib/viewfunctions.lua @@ -11,6 +11,7 @@ function displayinfo(myform,tags,viewtype) io.write(">" .. val.label .. "") io.write("\n\t\t
") if (viewtype == "viewonly") then + if (val.value == "") and (val.errtxt == "") and ((val.descr) and (val.descr == "")) then val.value = " " end io.write(val.value) elseif (val.type == "radio") and (type(val.option) == "table") and (#val.option > 0) then io.write("") -- cgit v1.2.3