fixed issue 1321, shorter admin titles, thanks Argetlam Akshet

This commit is contained in:
mdipierro
2013-02-06 09:53:52 -06:00
parent a7c6268d2c
commit d1d3c171fd
2 changed files with 3 additions and 1 deletions
@@ -565,6 +565,7 @@ def edit():
# Load json only if it is ajax edited...
app = get_app(request.vars.app)
filename = '/'.join(request.args)
response.title = request.args[-1]
if request.vars.app:
path = abspath(filename)
else:
@@ -812,6 +813,7 @@ def edit_language():
""" Edit language file """
app = get_app()
filename = '/'.join(request.args)
response.title = request.args[-1]
strings = read_dict(apath(filename, r=request))
if '__corrupted__' in strings: