Remove deprecated code of old autoziptown

This commit is contained in:
Laurent Destailleur
2010-10-13 12:11:37 +00:00
parent eb710a6dbc
commit c51ba22e0e
3 changed files with 0 additions and 246 deletions

View File

@@ -11,24 +11,6 @@
//
/*=================================================================
Purpose: Pour la fonction de saisie auto des villes
Input: postalcode,objecttown,objectcountry,objectstate
Author: Eric Seigne
Licence: GPL
==================================================================*/
function autofilltownfromzip_PopupPostalCode(url_root, postalcode,objecttown,objectcountry,objectstate)
{
var url = url_root + '/core/searchpostalcode.php?cp=' + postalcode;
url = url + '&targettown=window.opener.document.formsoc.' + objecttown.name;
url = url + '&targetcountry=window.opener.document.formsoc.' + objectcountry.name;
url = url + '&targetstate=window.opener.document.formsoc.' + objectstate.name;
// alert(url);
var hWnd = window.open(url, "SearchPostalCodeWindow", "width=" + 300 + ",height=" + 150 + ",resizable=yes,scrollbars=yes");
if((document.window != null) && (!hWnd.opener)) hWnd.opener = document.window;
}
/*
* =================================================================
* Purpose: