web/views/basecontrollers.py
changeset 5467 57372dbfd114
parent 5454 76b828dc3b9f
child 5555 a64f48dd5fe4
--- a/web/views/basecontrollers.py	Wed May 05 10:22:11 2010 +0200
+++ b/web/views/basecontrollers.py	Wed May 05 10:28:55 2010 +0200
@@ -463,7 +463,7 @@
     @jsonize
     def js_external_resource(self, resource):
         """returns the URL of the external resource named `resource`"""
-        return self._cw.vreg.config.uiprops[resource]
+        return self._cw.uiprops[resource]
 
     @check_pageid
     @jsonize