Ticket #3206: tags.th.patch

File tags.th.patch, 0.7 kB (added by catalin.balan@gmail.com, 5 months ago)
  • tractags/wiki.py

    old new  
    5252        if req and 'TAGS_MODIFY' in req.perm(page.resource) \ 
    5353                and req.path_info.startswith('/wiki') and 'save' in req.args: 
    5454            if self._update_tags(req, page) and \ 
    55                     page.text == page.old_text and \ 
     55                    req.args.get('text') == page.old_text and \ 
    5656                    page.readonly == int('readonly' in req.args) and \ 
    5757                    page.version > 0: 
    5858                req.redirect(get_resource_url(self.env, page.resource, req.href, version=None))