dolibarr-dev
[Top][All Lists]
Advanced

[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.'">&nbsp;';
> >                     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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]