Replace javascript by jQuery

This commit is contained in:
Laurent Destailleur
2010-08-29 16:47:17 +00:00
parent 54489e6050
commit cc55568723
10 changed files with 1109 additions and 1038 deletions

View File

@@ -11,20 +11,6 @@
//
/*=================================================================
Purpose: Resubmit page when barcode choice is changed (admin page)
Input: formNameID
Author: Laurent Destailleur
Licence: GPL
==================================================================*/
function barcode_coder_save(formNameID)
{
var formName = document.getElementById(formNameID);
formName.action.value='setcoder';
formName.submit();
}
/*=================================================================
Purpose: Pour la fonction de saisie auto des villes
Input: postalcode,objecttown,objectcountry,objectstate
@@ -43,32 +29,6 @@ function autofilltownfromzip_PopupPostalCode(url_root, postalcode,objecttown,obj
}
/*=================================================================
Purpose: To resubmit pages when country is changed
Input: postalcode,objecttown,objectcountry,objectstate
Author: Eric Seigne
Licence: GPL
==================================================================*/
function company_save_refresh_edit()
{
document.formsoc.action.value="edit";
document.formsoc.submit();
}
function company_save_refresh_create()
{
document.formsoc.action.value="create";
document.formsoc.submit();
}
function company_save_refresh()
{
document.form_index.action.value="updateedit";
document.form_index.submit();
}
/*=================================================================
Purpose: Pour la saisie des dates par calendrier
Input: base "/theme/eldy"