Changeset 3909
- Timestamp:
- 06/26/08 16:47:17 (5 months ago)
- Files:
-
- fullblogplugin/0.11/tracfullblog/web_ui.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
fullblogplugin/0.11/tracfullblog/web_ui.py
r3906 r3909 193 193 warnings = [] 194 194 195 if command == 'create' and req.method == 'GET' and not the_post.version: 196 # Support appending query arguments for populating intial fields 197 the_post.update_fields(req.args) 195 198 if command == 'create' and the_post.version: 199 # Post with name or suggested name already exists 196 200 if 'BLOG_CREATE' in req.perm and the_post.name == default_pagename \ 197 201 and not req.method == 'POST': … … 206 210 if command == 'edit': 207 211 req.perm(the_post.resource).require('BLOG_VIEW') # Starting point 208 if req.method == 'POST': # Create or edit a blog post 212 if req.method == 'POST': 213 # Create or edit a blog post 209 214 if 'blog-cancel' in req.args: 210 215 if req.args.get('action','') == 'edit':
