diff options
author | Mika Havela <mika.havela@gmail.com> | 2008-02-27 07:35:09 +0000 |
---|---|---|
committer | Mika Havela <mika.havela@gmail.com> | 2008-02-27 07:35:09 +0000 |
commit | 67449a97f7d7e730dc846708a2cc304eedb2ace3 (patch) | |
tree | 030db2b1c846f97087974738978bc3695021f5b4 | |
parent | 54afa6997c702c0652743bfee0ac16fa5a865c8b (diff) | |
download | acf-core-67449a97f7d7e730dc846708a2cc304eedb2ace3.tar.bz2 acf-core-67449a97f7d7e730dc846708a2cc304eedb2ace3.tar.xz |
Reverting the function that taggs a <input> with a class=... information.
This seems to be the only way to separate a <INPUT TYPE=text> and <INPUT TYPE=submit> (the problem has to do with IE).
I hope we find a nother way of doing this in the future.
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@771 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r-- | lib/html.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/html.lua b/lib/html.lua index 312b0fb..205a8e0 100644 --- a/lib/html.lua +++ b/lib/html.lua @@ -87,7 +87,7 @@ local generic_input = function ( field_type, v ) return nil end - local str = string.format ( '<input type="%s" ', field_type ) + local str = string.format ( '<input class="%s" type="%s" ', field_type,field_type ) for i,k in ipairs ( { "name", "size", "checked", "maxlength", |