equal
deleted
inserted
replaced
479 return self._cw.format_date(date) |
479 return self._cw.format_date(date) |
480 |
480 |
481 @jsonize |
481 @jsonize |
482 def js_external_resource(self, resource): |
482 def js_external_resource(self, resource): |
483 """returns the URL of the external resource named `resource`""" |
483 """returns the URL of the external resource named `resource`""" |
484 return self._cw.external_resource(resource) |
484 return self._cw.vreg.config.uiprops[resource] |
485 |
485 |
486 @check_pageid |
486 @check_pageid |
487 @jsonize |
487 @jsonize |
488 def js_user_callback(self, cbname): |
488 def js_user_callback(self, cbname): |
489 page_data = self._cw.session.data.get(self._cw.pageid, {}) |
489 page_data = self._cw.session.data.get(self._cw.pageid, {}) |