summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-23 20:05:12 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-23 20:05:12 +0000
commitedf4f15251158dd0bd3aeb7a2ad7b872c1c59fb3 (patch)
tree2f5b07e2a6d9639aa4e3f7a883c9f656be0d3519
parenta9a33b02fee4f62e1ccc885fe29cbf41fb957204 (diff)
downloadacf-core-edf4f15251158dd0bd3aeb7a2ad7b872c1c59fb3.tar.bz2
acf-core-edf4f15251158dd0bd3aeb7a2ad7b872c1c59fb3.tar.xz
Modified htmlviewfunctions to allow disabled options for multi-select boxes
-rw-r--r--lib/htmlviewfunctions.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/htmlviewfunctions.lua b/lib/htmlviewfunctions.lua
index 08db605..3d6efde 100644
--- a/lib/htmlviewfunctions.lua
+++ b/lib/htmlviewfunctions.lua
@@ -109,6 +109,7 @@ function displayformitem(myitem, name, viewtype, header_level, group)
else
v = val.value
l = val.label
+ myitem.disabled = val.disabled
end
reverseopt[v] = x
myitem.value = v