accept extra fields forumsid and wikihomepage
This commit is contained in:
parent
2b6e6869f7
commit
c3afa11013
3 changed files with 8 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# DDPortfolio service DdportfolioController
|
||||
# Copyright (c) 2009 Jan Dittberner <jan@dittberner.info>
|
||||
# Copyright © 2009, 2010 Jan Dittberner <jan@dittberner.info>
|
||||
#
|
||||
# This file is part of DDPortfolio service.
|
||||
#
|
||||
|
@ -156,7 +156,8 @@ developer name on all bug logs)'),
|
|||
except formencode.validators.Invalid, error:
|
||||
c.messages = { 'errors' : error.unpack_errors() }
|
||||
return render('/showform.mako')
|
||||
data = build_urls(rp)
|
||||
data = build_urls(form_result)
|
||||
log.debug("data %r", data)
|
||||
if 'mode' in rp and rp['mode'] == 'json':
|
||||
response.headers['Content-Type'] = 'text/javascript'
|
||||
return simplejson.dumps(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue