web/views/basecontrollers.py
changeset 5444 f7fdb5dd82f6
parent 5426 0d4853a6e5ee
child 5453 d0c8076e298b
--- a/web/views/basecontrollers.py	Thu Apr 29 14:21:59 2010 +0200
+++ b/web/views/basecontrollers.py	Fri Apr 30 12:14:15 2010 +0200
@@ -481,7 +481,7 @@
     @jsonize
     def js_external_resource(self, resource):
         """returns the URL of the external resource named `resource`"""
-        return self._cw.external_resource(resource)
+        return self._cw.vreg.config.uiprops[resource]
 
     @check_pageid
     @jsonize