[Erp5-dev] patch for Base_edit

Jean-Paul Smets jp at nexedi.com
Thu Jul 20 21:26:46 CEST 2006


I think this should be handled by vincent's new xhtml_style system.
Vincent: can you check this ?
JPS.

Le jeudi 20 juillet 2006 20:12, Bartek Gorny a écrit :
> I would suggest adding one line to Base_edit:
>
> dialog_id=dialog_id or 'view'
>
> The reason is that after editing a relation there is no dialog_id, and
> the url is like:
> module/object_id/?selection_name=...
> and in File and derived object this means a request to download data
> (see docstring of CMFDefault.File.File.download()). The above fixes
> this.
>
> Bartek

-- 
Jean-Paul Smets-Solanes, Nexedi CEO - Tel. +33(0)6 62 05 76 14
Nexedi: Consulting and Development of Libre / Open Source Software
http://www.nexedi.com
ERP5: Libre/ Open Source ERP Software for small and medium companies
http://www.erp5.org
Rentalinux: Desktop Linux Server
http://www.rentalinux.com



More information about the Erp5-dev mailing list