projects
/
webpac2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b55a3e4
)
r8860@llin: dpavlin | 2005-11-14 16:21:41 +0100
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 14 Nov 2005 16:16:03 +0000
(16:16 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Mon, 14 Nov 2005 16:16:03 +0000
(16:16 +0000)
if there is no innerText attribute try value
git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@51
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
5c2a5ec
..
6c5c8e3
100644
(file)
--- a/
web/iwf/iwfajax.js
+++ b/
web/iwf/iwfajax.js
@@
-275,11
+275,11
@@
iwfLog("total elements in form named '" + form.name + "': " + form.elements.leng
}
\r
break;
\r
case 'textarea':
\r
- val = iwfAttribute(el, 'innerText');
\r
+ val = iwfAttribute(el, 'innerText')
|| el.value
;
\r
break;
\r
case 'button':
\r
if (el == ctl){
\r
- val = iwfAttribute(el, 'innerText');
\r
+ val = iwfAttribute(el, 'innerText')
|| el.value
;
\r
}
\r
break;
\r
case 'select':
\r