• R/O
  • SSH
  • HTTPS

traclight: Commit


Commit MetaInfo

Revision55 (tree)
Time2010-09-23 08:09:48
Authorokamototk

Log Message

avoid wasted wysiwyg javascript loading.

Change Summary

Incremental Difference

--- branches/tl3_0/plugins/svn/tracwysiwyg/tracwysiwyg/__init__.py (revision 54)
+++ branches/tl3_0/plugins/svn/tracwysiwyg/tracwysiwyg/__init__.py (revision 55)
@@ -34,6 +34,8 @@
3434
3535 # IRequestFilter#post_process_request
3636 def post_process_request(self, req, template, data, content_type):
37+ if not (req.args.get('action', None)=="edit" or req.path_info.startswith(r'/newticket') or req.path_info.startswith(r'/ticket/')):
38+ return (template, data, content_type)
3739 options = {}
3840 options['escapeNewlines'] = False
3941 if template == 'ticket.html':
Show on old repository browser