From 6c2030f820396e6fa18214ad8dfa1d464ceaba7d Mon Sep 17 00:00:00 2001 From: mdipierro Date: Fri, 7 Jun 2013 17:35:47 -0500 Subject: [PATCH] fixed some problem with latest editor tab, thanks Paolo --- CHANGELOG | 4 ++++ VERSION | 2 +- applications/admin/views/default/edit_js.html | 2 +- gluon/dal.py | 3 ++- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 08a0fbd9..bc54d9de 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +## 2.5.2 + +- Web editor with tabs, thanks ilvalle + ## 2.5.1 - New style virtual fields in grid diff --git a/VERSION b/VERSION index 4d786e02..be51df03 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.5.1-stable+timestamp.2013.06.06.10.53.45 +Version 2.5.1-stable+timestamp.2013.06.07.17.35.00 diff --git a/applications/admin/views/default/edit_js.html b/applications/admin/views/default/edit_js.html index 22d3db0a..6ed3c4bd 100644 --- a/applications/admin/views/default/edit_js.html +++ b/applications/admin/views/default/edit_js.html @@ -2,7 +2,7 @@ return XML('
  • %s%s
  • ' % (combo, description)) }} -
    +
    {{=IMG(_src=URL('static', 'images/save_icon.png'), _alt=T('Save'))}} diff --git a/gluon/dal.py b/gluon/dal.py index c54d6d24..9b1b76cd 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -6991,10 +6991,11 @@ class Row(object): key = col res = record._extra[col] else: - key = f if isinstance(record.get(t, None), Row): + key = f res = record[t][f] else: + key = f res = record[f] if mode == 'object': return (key, res)