/[dolibarr]/dolibarr/htdocs/lib/lib.js
ViewVC logotype

Diff of /dolibarr/htdocs/lib/lib.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by eldy, Mon Oct 31 03:15:03 2005 UTC revision 1.2 by eldy, Mon Oct 31 03:27:03 2005 UTC
# Line 2  Line 2 
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);
# Line 10  function PopupPostalCode(postalcode,obje Line 10  function PopupPostalCode(postalcode,obje
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  // ***************************************  // ***************************************

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26