Commits

Anonymous committed 98acc2c

Refs #9795: Don't show the bookmark menu and allow a bookmark to be set when on the `bookmark` page.

  • Participants
  • Parent commits 8edba9d

Comments (0)

Files changed (1)

File 0.12/tracbookmark/__init__.py

         return handler
 
     def post_process_request(self, req, template, data, content_type):
-        if 'BOOKMARK_VIEW' in req.perm:
+        if 'BOOKMARK_VIEW' in req.perm and not self.match_request(req):
             for path in self.bookmarkable_paths:
                 if re.match(path, req.path_info):
                     self.render_bookmarker(req)