equal
deleted
inserted
replaced
472 rql = self.cw_rset.printable_rql() |
472 rql = self.cw_rset.printable_rql() |
473 return "javascript:userCallbackThenUpdateUI('%s', '%s', %s, %s, '%s', '%s')" % ( |
473 return "javascript:userCallbackThenUpdateUI('%s', '%s', %s, %s, '%s', '%s')" % ( |
474 cbname, self.__regid__, dumps(rql), dumps(msg), |
474 cbname, self.__regid__, dumps(rql), dumps(msg), |
475 self.__registry__, self.div_id()) |
475 self.__registry__, self.div_id()) |
476 |
476 |
477 def build_reload_js_call(self, cbname, msg): |
477 def build_reload_js_call(self, cbname, msg): |
478 return "javascript:userCallbackThenReloadPage('%s', %s)" % (cbname, dumps(msg)) |
478 return "javascript:userCallbackThenReloadPage('%s', %s)" % (cbname, dumps(msg)) |
479 |
479 |
480 build_js = build_update_js_call # expect updatable component by default |
480 build_js = build_update_js_call # expect updatable component by default |
481 |
481 |
482 def div_id(self): |
482 def div_id(self): |
483 return '' |
483 return '' |