From 92662a9c5b683bfc50077519e6695a84db80a7e8 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 15 Nov 2005 14:29:59 +0000 Subject: [PATCH] r8878@llin: dpavlin | 2005-11-14 18:56:54 +0100 again some local changes and fixes git-svn-id: svn+ssh://mjesec/home/dpavlin/svn/webpac2/trunk@56 07558da8-63fa-0310-ba24-9fe276d99e06 --- web/iwf/iwfajax.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/iwf/iwfajax.js b/web/iwf/iwfajax.js index e5c41b4..7d48796 100644 --- a/web/iwf/iwfajax.js +++ b/web/iwf/iwfajax.js @@ -276,8 +276,8 @@ function _iwfGetFormData(form, url, ctl){ switch(iwfAttribute(el, 'type')){ case 'checkbox': case 'radio': - if (iwfAttribute(el, 'checked')){ - val = iwfAttribute(el, 'value'); + if (iwfAttribute(el, 'checked') || el.checked){ + val = iwfAttribute(el, 'value') || el.value; } break; case 'button': @@ -311,11 +311,11 @@ function _iwfGetFormData(form, url, ctl){ } break; case 'textarea': - val = iwfAttribute(el, 'innerText'); + val = iwfAttribute(el, 'innerText') || el.value; break; case 'button': if (el == ctl){ - val = iwfAttribute(el, 'innerText'); + val = iwfAttribute(el, 'innerText') || el.value; } break; case 'select': @@ -520,7 +520,7 @@ function _iwfInsertHtml(html, parentNodeId){ iwfAppendChild('body', elScript); } catch(e){ -iwfLog("IE Hack for injecting script tag...", true); +//iwfLog("IE Hack for injecting script tag...", true); //! IE hack // IE needs a visible tag within a non-script element to have scripting apply... Don't ask me why, ask the IE team why. // My guess is the visible element causes the page to at least partially re-render, which in turn kicks off any script parsing @@ -694,7 +694,7 @@ function _iwfOnRequestEnd(){ } } else { // use default busy implementation... - window.status = 'Remaining: ' + _iwfRequestsPending; + window.status = 'Remaining: ' + _iwfPendingRequests; } } else { // they didn't define an end function, -- 2.20.1