# HG changeset patch # User Stephanie Marcu # Date 1237385371 -3600 # Node ID 20a21b3153b0bda83c683b19f4f66653a1a3dfa9 # Parent 163e6a65d48805bbf7340b1feb13a93fff3bc83c define an IFRAME function to fix a bug on IE6 and IE7 to avoid to open a new window diff -r 163e6a65d488 -r 20a21b3153b0 web/data/cubicweb.compat.js --- a/web/data/cubicweb.compat.js Tue Mar 17 19:28:11 2009 +0100 +++ b/web/data/cubicweb.compat.js Wed Mar 18 15:09:31 2009 +0100 @@ -242,7 +242,36 @@ UL = createDomFunction('ul'); // cubicweb specific -IFRAME = createDomFunction('iframe'); +//IFRAME = createDomFunction('iframe'); +function IFRAME(params){ + if ('name' in params){ + try { + var node = document.createElement('