branch | stable |
changeset 2537 | 73c83c14dd2c |
parent 1563 | b130c6cec8c2 |
child 3096 | 8ee9529d8367 |
--- a/web/data/cubicweb.compat.js Fri Jul 24 14:37:05 2009 +0200 +++ b/web/data/cubicweb.compat.js Tue Jul 28 21:11:10 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');