Ok, I was really sad I can't figure out how to make it works...

It works now.

Richard

On Tue, Aug 16, 2011 at 12:18 PM, Anthony <abasta...@gmail.com> wrote:

> On Tuesday, August 16, 2011 12:09:45 PM UTC-4, Richard wrote:
>>
>> Hello,
>>
>> Consider this little change at admin app line 1195 of default
>> controller under 1.98.2 :
>>
>> def update_languages():
>>     """ Update available languages """
>>
>>     app = get_app()
>>     update_all_languages(apath(**app, r=request))
>>     session.flash = T('Language files (static strings) updated')
>>     redirect(URL('design',args=**app+'#languages')) # Line 1195
>>
>> Only one problem the dial (#) caracter does not seems to pass
>> correctly... Don't why and I can't figure it out... Encoding
>> problem..
>>
> In URL(), args and vars are url encoded. Instead, use the anchor argument:
>
> URL('design',args=**app,anchor='#languages')
>
> Anthony
>

Reply via email to