diff options
author | Ted Trask <ttrask01@yahoo.com> | 2009-01-12 20:34:27 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2009-01-12 20:34:27 +0000 |
commit | f4bffff49b7eac4e1936344d6dd8fa4d5df8f2b4 (patch) | |
tree | 941dddf445018f038ed0b4fee51d92eb146cb3c3 /lib | |
parent | 91a357f0a98cd42129017b8473d9c0879a9582e5 (diff) | |
download | acf-core-f4bffff49b7eac4e1936344d6dd8fa4d5df8f2b4.tar.bz2 acf-core-f4bffff49b7eac4e1936344d6dd8fa4d5df8f2b4.tar.xz |
Modified several pages to replace contenteditable with readonly. Added readonly to html.lsp and .css files.
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1676 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lib')
-rw-r--r-- | lib/html.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/html.lua b/lib/html.lua index a543659..96bf4ad 100644 --- a/lib/html.lua +++ b/lib/html.lua @@ -92,7 +92,7 @@ local generic_input = function ( field_type, v ) for i,k in ipairs ( { "name", "size", "checked", "maxlength", "value", "length", "class", "id", "src", - "align", "alt", "contenteditable", + "align", "alt", "contenteditable", "readonly", "tabindex", "accesskey", "onfocus", "onblur" } ) do str = str .. nv_pair ( k, v[k] ) @@ -120,7 +120,7 @@ form.longtext = function ( v ) for i,k in ipairs ( { "name", "rows", "cols", "class", "id", "tabindex", "accesskey", - "onfocus", "onblur" + "onfocus", "onblur", "readonly" } ) do str = str .. nv_pair ( k, v[k] ) end |