author | Adrien Di Mascio <Adrien.DiMascio@logilab.fr> |
Tue, 28 Jul 2009 21:14:47 +0200 | |
changeset 2538 | 6f8ffaa2a700 |
parent 2536 | 88595be9087d (current diff) |
parent 2537 | 73c83c14dd2c (diff) |
child 2539 | 0f26a76b0348 |
web/data/cubicweb.edition.js | file | annotate | diff | comparison | revisions | |
web/views/editforms.py | file | annotate | diff | comparison | revisions |
--- a/web/data/cubicweb.compat.js Tue Jul 28 20:38:53 2009 +0200 +++ b/web/data/cubicweb.compat.js Tue Jul 28 21:14:47 2009 +0200 @@ -247,9 +247,10 @@ if ('name' in params){ try { var node = document.createElement('<iframe name="'+params['name']+'">'); - }catch (ex) { - var node = document.createElement('iframe'); - } + } catch (ex) { + var node = document.createElement('iframe'); + node.id = node.name = params.name; + } } else{ var node = document.createElement('iframe');