Custom Query (58 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1 - 3 of 58)

1 2 3 4 5 6 7 8 9 10 11
Ticket Resolution Summary Owner Reporter
#13 fixed ajax.py2js with strings and dicts apoirier vrialland

Reported by vrialland, 9 years ago.

Description

Strings : py2js doesn't escape characters such as ", \n...

current code: ajax.py line 365 : return '"'+value+'"

working: return '"%s"' % value.replace('
', '

').replace("\n","
n").replace('"','
"')


Dicts : An error occurs when a key in the dict contains the minus sign, Python tries to evaluate it:

current code : ajax.py line 323 return '{ ' + ', '.join(% (name, py2js(value, h)) for (name, value) in d.items()?) + '}'

working : return '{ ' + ', '.join(% (py2js(name, h), py2js(value, h)) for (name, value) in d.items()?) + ' }'

#51 fixed ajax.Updates - javascript executed multiple times apoirier bertrand.croq

Reported by bertrand.croq, 8 years ago.

Description

When using an ajax.Updates object containing N ajax.Update objects, the javascript code produced by these ajax.Update objects is executed N times on the browser (once after each nagare_updateNode/nagare_replaceNode call)

#1298 fixed Anchors are modified by the renderers apoirier apoirier

Reported by apoirier, 7 years ago.

Description

A href which is only an anchor is replaced by an url:

h << h.a(href='#foo')

generates:

<a href='/<appli>/#foo'>

1 2 3 4 5 6 7 8 9 10 11
Note: See TracQuery for help on using queries.