web/views/editviews.py
changeset 3460 e4843535db25
parent 3451 6b46d73823f5
child 4023 eae23c40627a
--- a/web/views/editviews.py	Thu Sep 24 00:23:32 2009 +0200
+++ b/web/views/editviews.py	Thu Sep 24 00:24:21 2009 +0200
@@ -141,7 +141,7 @@
         _ = self._cw._
         for eschema in targettypes:
             mode = '%s:%s:%s:%s' % (target, entity.eid, rschema.type, eschema)
-            url = self.build_url(entity.rest_path(), vid='search-associate',
+            url = self._cw.build_url(entity.rest_path(), vid='search-associate',
                                  __mode=mode)
             options.append((eschema.display_name(self._cw),
                             '<option value="%s">%s %s</option>' % (