diff options
Diffstat (limited to 'themes/default/js')
-rw-r--r-- | themes/default/js/rating.js | 1 | ||||
-rw-r--r-- | themes/default/js/scripts.js | 32 |
2 files changed, 1 insertions, 32 deletions
diff --git a/themes/default/js/rating.js b/themes/default/js/rating.js index 0e3006ec2..f0f838c72 100644 --- a/themes/default/js/rating.js +++ b/themes/default/js/rating.js @@ -82,7 +82,6 @@ function updateRating(e) { var t = gRatingOptions.ratingSummaryText; var args =[result.average, result.count], idx = 0, rexp = new RegExp( /%\.?\d*[sdf]/ ); - //_xxx = t.match( rexp ); while (idx<args.length) t=t.replace(rexp, args[idx++]); gRatingOptions.ratingSummaryElement.innerHTML = t; } diff --git a/themes/default/js/scripts.js b/themes/default/js/scripts.js index 638fccbcf..0447d4c93 100644 --- a/themes/default/js/scripts.js +++ b/themes/default/js/scripts.js @@ -1,33 +1,3 @@ -function SelectAll( formulaire ) -{ -var elts = formulaire.elements; -for(var i=0; i <elts.length; i++) -{ - if (elts[i].type=='checkbox') - elts[i].checked = true; -} -} - -function DeselectAll( formulaire ) -{ -var elts = formulaire.elements; -for(var i=0; i <elts.length; i++) -{ - if (elts[i].type=='checkbox') - elts[i].checked = false; -} -} - -function Inverser( formulaire ) -{ -var elts = formulaire.elements; -for(var i=0; i <elts.length; i++) -{ - if (elts[i].type=='checkbox') - elts[i].checked = !elts[i].checked; -} -} - function phpWGOpenWindow(theURL,winName,features) { img = new Image(); @@ -62,7 +32,7 @@ function PwgWS(urlRoot) this.urlRoot = urlRoot; this.options = { method: "GET", - async: true, + async: true, onFailure: null, onSuccess: null }; |