Skip to content

Commit 3ffaa86

Browse files
committed
Use abs_href_dynamic, not abs_href
1 parent 76fe793 commit 3ffaa86

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_CNDB/_GTW/RST_addons.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@
131131
# 6-Jul-2015 (CT) Add `DB_View.render_context` to setup `expand_trees`
132132
# 7-Jul-2015 (CT) Add `net_device_type` to `DB_Device.view_field_names`
133133
# 8-Jul-2015 (CT) Remove `filter` from `_action_map`
134+
# 18-Nov-2015 (CT) Pass `abs_href_dynamic`, not `abs_href`, to `pp_join`
134135
# ««revision-date»»···
135136
#--
136137

@@ -802,7 +803,8 @@ def _rendered_delete (self, request, response, obj) :
802803
if result.get ("undo") :
803804
scope = self.top.scope
804805
change = scope.uncommitted_changes [-1]
805-
result ["undo"] ["url"] = pp_join (self.parent.abs_href, "undo")
806+
result ["undo"] ["url"] = pp_join \
807+
(self.parent.abs_href_dynamic, "undo")
806808
return result
807809
# end def _rendered_delete
808810

0 commit comments

Comments
 (0)