diff --git a/share/layout/body.tt b/share/layout/body.tt index b43f94fa51..5f38a313ae 100644 --- a/share/layout/body.tt +++ b/share/layout/body.tt @@ -159,6 +159,7 @@ var mainWrapperInit = function () { return true; } var _href = $(this).attr('href'); + var backuri = $(this).data('backuri') ? $(this).data('backuri') : '[%-backuri-%]'; var _back = 'back=[% backuri | uri %]'; if(_href == null || _href.match(/[&\?]back=/)) { // ignore diff --git a/share/templates/rewrite/rules_list.tt b/share/templates/rewrite/rules_list.tt index d3aa15aa18..c85271cd86 100644 --- a/share/templates/rewrite/rules_list.tt +++ b/share/templates/rewrite/rules_list.tt @@ -21,7 +21,6 @@ [% END -%]
- [% MACRO show_rules BLOCK -%] @@ -50,7 +49,7 @@
[% UNLESS c.user.read_only -%]