projects
/
webpac2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
343e19a
)
r8861@llin: dpavlin | 2005-11-14 16:36:22 +0100
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 14 Nov 2005 16:16:20 +0000
(16:16 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 14 Nov 2005 16:16:20 +0000
(16:16 +0000)
fix checkbox
git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@52
07558da8
-63fa-0310-ba24-
9fe276d99e06
web/iwf/iwfajax.js
patch
|
blob
|
history
diff --git
a/web/iwf/iwfajax.js
b/web/iwf/iwfajax.js
index
6c5c8e3
..
a2f3f05
100644
(file)
--- a/
web/iwf/iwfajax.js
+++ b/
web/iwf/iwfajax.js
@@
-240,8
+240,8
@@
iwfLog("total elements in form named '" + form.name + "': " + form.elements.leng
switch(iwfAttribute(el, 'type')){
\r
case 'checkbox':
\r
case 'radio':
\r
- if (iwfAttribute(el, 'checked')){
\r
- val = iwfAttribute(el, 'value');
\r
+ if (iwfAttribute(el, 'checked')
|| el.checked
){
\r
+ val = iwfAttribute(el, 'value')
|| el.value
;
\r
}
\r
break;
\r
case 'button':
\r