From d1d3c171fd1e0d19118e7039b61ab6d1f53eac32 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Wed, 6 Feb 2013 09:53:52 -0600 Subject: [PATCH] fixed issue 1321, shorter admin titles, thanks Argetlam Akshet --- VERSION | 2 +- applications/admin/controllers/default.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 3542a5a0..981c472f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.02.05.13.23.12 +Version 2.4.1-alpha.2+timestamp.2013.02.06.09.53.07 diff --git a/applications/admin/controllers/default.py b/applications/admin/controllers/default.py index 019b25d0..618b9ff6 100644 --- a/applications/admin/controllers/default.py +++ b/applications/admin/controllers/default.py @@ -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: