summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-03-03 13:50:35 +0000
committerTed Trask <ttrask01@yahoo.com>2014-03-03 13:50:35 +0000
commit63ca4dc3b386c314e015c8b3e87a724f8f3140c5 (patch)
tree57fade5dbca55a3f6da20eaf7dfa8a133628bbb4
parent628fbd702cb7ce68ab96bdd7f95230c2fa6300c5 (diff)
downloadacf-lib-63ca4dc3b386c314e015c8b3e87a724f8f3140c5.tar.bz2
acf-lib-63ca4dc3b386c314e015c8b3e87a724f8f3140c5.tar.xz
HTML select multiple is boolean attribute
-rw-r--r--html.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.lua b/html.lua
index 2724191..5b1b444 100644
--- a/html.lua
+++ b/html.lua
@@ -193,13 +193,13 @@ function mymodule.form.select ( v )
for i,k in ipairs ( {
"name", "size", "tabindex", "accesskey",
"onfocus", "onblur", "onchange", "id",
- "class", "multiple", "title"
+ "class", "title"
} ) do
str = str .. nv_pair ( k, v[k] )
end
for i,k in ipairs ( {
- "disabled",
+ "disabled", "multiple"
} ) do
str = str .. boolean_attribute ( k, v[k] )
end