2 |
// Pour la fonction de saisi auto des villes |
// Pour la fonction de saisi auto des villes |
3 |
// ***************************************** |
// ***************************************** |
4 |
|
|
5 |
function PopupPostalCode(postalcode,objectville) |
function autofilltownfromzip_PopupPostalCode(postalcode,objectville) |
6 |
{ |
{ |
7 |
var url = 'searchpostalcode.php?cp=' + postalcode + '&targetobject=window.opener.document.formsoc.' + objectville.name; |
var url = 'searchpostalcode.php?cp=' + postalcode + '&targetobject=window.opener.document.formsoc.' + objectville.name; |
8 |
// alert(url); |
// alert(url); |
10 |
if((document.window != null) && (!hWnd.opener)) hWnd.opener = document.window; |
if((document.window != null) && (!hWnd.opener)) hWnd.opener = document.window; |
11 |
} |
} |
12 |
|
|
13 |
function save_refresh() |
function autofilltownfromzip_save_refresh_edit() |
14 |
{ |
{ |
15 |
document.formsoc.action.value="edit"; |
document.formsoc.action.value="edit"; |
16 |
document.formsoc.submit(); |
document.formsoc.submit(); |
17 |
} |
} |
18 |
|
|
19 |
|
function autofilltownfromzip_save_refresh_create() |
20 |
|
{ |
21 |
|
document.formsoc.action.value="create"; |
22 |
|
document.formsoc.submit(); |
23 |
|
} |
24 |
|
|
25 |
|
|
26 |
// Pour la saisie des dates par calendrier |
// Pour la saisie des dates par calendrier |
27 |
// *************************************** |
// *************************************** |