mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-15 14:08:31 +02:00
redirecting to the edit page once submit modify
This commit is contained in:
parent
5f9758832f
commit
314e0fc02b
1 changed files with 2 additions and 0 deletions
|
@ -590,6 +590,8 @@ class LdapCherry(object):
|
|||
if cherrypy.request.method.upper() == 'POST':
|
||||
notification = "<script type=\"text/javascript\">$.notify('User Modify')</script>"
|
||||
self._modify(params)
|
||||
referer = cherrypy.request.headers['Referer']
|
||||
raise cherrypy.HTTPRedirect(referer)
|
||||
else:
|
||||
notification = ''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue