101101 if ( re . test ( rows [ i ] . id ) || ( hidenone && rows [ i ] . className == 'grouprow' ) )
102102 {
103103 rows [ i ] . style . display = "table-row" ;
104+ if ( rows [ i ] . className == 'groupagenda' )
105+ {
106+ var iframe = rows [ i ] . firstElementChild . nextElementSibling . firstElementChild ;
107+ iframe . setAttribute ( "src" , iframe . getAttribute ( "xsrc" ) ) ;
108+ r ( iframe ) ;
109+ }
104110 }
105111 else
106112 {
115121 /* Resizes an IFRAME to fit its contents */
116122 function r ( obj )
117123 {
118- /* This can't work until we move the agendas into the datatracker.ietf.org
119- domain -- we can't query the height of a document from another domain. */
120-
121- /*
122- docHeight = obj.contentWindow.document.height;
123- obj.style.height = (docHeight + 20) * 1.05 + "px"
124- */
124+ try
125+ {
126+ docHeight = obj . contentWindow . document . height ;
127+ obj . style . height = ( docHeight + 20 ) * 1.05 + "px"
128+ }
129+ catch ( e ) { }
125130 }
126131
127132 function toggle ( selection )
@@ -197,6 +202,7 @@ <h1>IETF {{ meeting.num }} Meeting Agenda</h1>
197202 {% for area in area_list %}
198203 < th > < div id ='selector-{{area.area_acronym|upper}} ' class ="unselected " onclick ="toggle(this) "> {{area.area_acronym|upper}}</ div > </ th >
199204 {% endfor %}
205+ < th > < div id ='selector-IRTF ' class ="unselected " onclick ="toggle(this) "> IRTF</ div > </ th >
200206 </ tr >
201207
202208 < tr >
@@ -209,6 +215,13 @@ <h1>IETF {{ meeting.num }} Meeting Agenda</h1>
209215 {% endfor %}
210216 </ td >
211217 {% endfor %}
218+
219+ < td valign ="top " id ="IRTF-groups ">
220+ {% for rg in rg_list %}
221+ < div id ='selector-{{rg|lower}} ' class ="unselected " onclick ="toggle(this) "> {{rg|lower}}</ div >
222+ {% endfor %}
223+ </ td >
224+
212225 </ tr >
213226</ table >
214227
@@ -271,7 +284,7 @@ <h2 class="ietf-divider">{{ slot.meeting_date|date:"l"|upper }}, {{ slot.meeting
271284 < td > </ td >
272285 < td colspan ="3 ">
273286 {% if session.info.agenda_file %}
274- < iframe width ="100% " height ="400px " src ="http://www.ietf.org/proceedings /{{ session.info.agenda_file }} " onload ="r(this) "> </ iframe >
287+ < iframe width ="100% " height ="400px " src ="about:blank " xsrc =" /meeting /{{ session.info.agenda_file }} " onload ="r(this) "> </ iframe >
275288 {% else %}
276289 < b > No Agenda Submitted</ b >
277290 {% endif %}
0 commit comments