diff options
author | rvelices <rv-github@modusoptimus.com> | 2010-11-23 13:50:41 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2010-11-23 13:50:41 +0000 |
commit | 8e25506673706ea8b2deeb846e7ff9e8f846183b (patch) | |
tree | 0069fa3d3ba253d7af232e0d8852512ea82e39a4 /themes/default/js/scripts.js | |
parent | b5485d3210f63f2a62c27f72ffa936878a0ff4a3 (diff) |
small javascript and css simplification
git-svn-id: http://piwigo.org/svn/trunk@7852 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | themes/default/js/scripts.js | 32 |
1 files changed, 1 insertions, 31 deletions
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 }; |