[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dolibarr-dev] commande : dernière lignedoublée
From: |
Christophe PEREZ |
Subject: |
Re: [Dolibarr-dev] commande : dernière lignedoublée |
Date: |
Tue, 13 Jun 2006 22:54:29 -0400 |
Le mercredi 14 juin 2006 à 02:15 +0200, Laurent Destailleur (Eldy) a
écrit :
> > --- /var/www/dolibarrcvs/htdocs/html.form.class.php 2006-06-10
> > 19:03:25.000000000 -0400
> > +++ /var/www/dolibarrnew/htdocs/html.form.class.php 2006-06-13
> > 14:35:49.000000000 -0400
> > @@ -703,17 +703,12 @@
> > global $langs,$conf,$user;
> > if($conf->use_ajax)
> > {
> > - print '<script type="text/javascript"
> > src="'.DOL_URL_ROOT.'/lib/prototype.js"></script>';
> > print $langs->trans("Ref").'<input type="text" size="5"
> > name="ajkeyref'.$htmlname.'" id="ajkeyref'.$htmlname.'"> ';
> > print $langs->trans("Label").'<input type="text"
> > size="5" name="ajkeylabel'.$htmlname.'" id="ajkeylabel'.$htmlname.'">';
> > print '<input type="hidden" name="'.$htmlname.'"
> > id="'.$htmlname.'" value="">';
> > print '<script type="text/javascript">';
> > print 'var url =
> > \''.DOL_URL_ROOT.'/ajaxresponse.php\';';
> > print 'new
> > Form.Element.Observer($("ajkeyref'.$htmlname.'"), 1, function(){var myAjax
> > = new Ajax.Updater( {success: \'ajdynfield'.$htmlname.'\'}, url, {method:
> > \'get\', parameters:
> > "keyref="+$("ajkeyref'.$htmlname.'").value+"&htmlname='.$htmlname.'&price_level='.$price_level.'"});});';
> > - print 'function
> > publish_selvalue(obj){$("'.$htmlname.'").value =
> > obj.options[obj.selectedIndex].value;}';
> > - print '</script>';
> > - print '<script type="text/javascript">';
> > - print 'var url =
> > \''.DOL_URL_ROOT.'/ajaxresponse.php\';';
> > print 'new
> > Form.Element.Observer($("ajkeylabel'.$htmlname.'"), 1, function(){var
> > myAjax = new Ajax.Updater( {success: \'ajdynfield'.$htmlname.'\'}, url,
> > {method: \'get\', parameters:
> > "keylabel="+$("ajkeylabel'.$htmlname.'").value+"&htmlname='.$htmlname.'&price_level='.$price_level.'"});});';
> > print '</script>';
> > print '<div id="ajdynfield'.$htmlname.'">';
[...]
> Patch intégré.
Ah, il me semble que la partie ci-dessus n'a pas été appliquée
intégralement, puisque je vois toujours la ligne de chargement de
prototype.js dans le CVS.
--
Christophe
- RE: [Dolibarr-dev] commande : dernière lignedoublée, (continued)
- RE: [Dolibarr-dev] commande : dernière lignedoublée, Christophe PEREZ, 2006/06/12
- RE: [Dolibarr-dev] commande : dernière lignedoublée, Régis Houssin, 2006/06/12
- RE: [Dolibarr-dev] commande : dernière lignedoublée, Christophe PEREZ, 2006/06/13
- RE: [Dolibarr-dev] commande : dernière lignedoublée, Régis Houssin, 2006/06/13
- RE: [Dolibarr-dev] commande : dernière lignedoublée, Christophe PEREZ, 2006/06/13
- RE: [Dolibarr-dev] commande : dernière lignedoublée, Régis Houssin, 2006/06/13
- RE: [Dolibarr-dev] commande : dernière lignedoublée, Christophe PEREZ, 2006/06/13
- RE: [Dolibarr-dev] commande : dernière lignedoublée, Christophe PEREZ, 2006/06/13
- Re: [Dolibarr-dev] commande : dernière ligne doublée, Laurent Destailleur (Eldy), 2006/06/13
- Re: [Dolibarr-dev] commande : dernière lignedoublée, Christophe PEREZ, 2006/06/13
- Re: [Dolibarr-dev] commande : dernière lignedoublée,
Christophe PEREZ <=
- RE: [Dolibarr-dev] commande : dernière lignedoublée, Régis Houssin, 2006/06/14
- RE: [Dolibarr-dev] commande : dernière lignedoublée, Christophe PEREZ, 2006/06/14
- RE: [Dolibarr-dev] commande : dernière lignedoublée, Christophe PEREZ, 2006/06/13