[gen] Modified Ajax system to be able to ajax-refresh a single row within query results or ref tied object (ongoing work).
This commit is contained in:
parent
f047242d81
commit
1bd6cf29a3
11 changed files with 417 additions and 302 deletions
|
@ -294,6 +294,8 @@ def getStringDict(d):
|
|||
res = []
|
||||
for k, v in d.iteritems():
|
||||
if type(v) not in sequenceTypes:
|
||||
if not isinstance(k, basestring): k = str(k)
|
||||
if not isinstance(v, basestring): v = str(v)
|
||||
value = "'%s':'%s'" % (k, v.replace("'", "\\'"))
|
||||
else:
|
||||
value = "'%s':%s" % (k, v)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue