Merge pull request #1425 from zvolsky/_plugin_failure
F redirect in admin/default/design (install of plugin)
This commit is contained in:
@@ -1087,11 +1087,11 @@ def design():
|
|||||||
redirect(URL('design', args=app))
|
redirect(URL('design', args=app))
|
||||||
else:
|
else:
|
||||||
session.flash = \
|
session.flash = \
|
||||||
T('unable to create application "%s"', request.vars.filename)
|
T('unable to install plugin "%s"', filename)
|
||||||
redirect(URL(r=request))
|
redirect(URL(r=request, args=app))
|
||||||
elif isinstance(request.vars.pluginfile, str):
|
elif isinstance(request.vars.pluginfile, str):
|
||||||
session.flash = T('plugin not specified')
|
session.flash = T('plugin not specified')
|
||||||
redirect(URL(r=request))
|
redirect(URL(r=request, args=app))
|
||||||
|
|
||||||
# If we have only pyc files it means that
|
# If we have only pyc files it means that
|
||||||
# we cannot design
|
# we cannot design
|
||||||
|
|||||||
Reference in New Issue
Block a user