--===============0635728472==
Content-Type: multipart/signed;
boundary="nextPart1265253.un9XsCm2Aa";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart1265253.un9XsCm2Aa
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi
> Thanks for the BT, does the page in question happen to be accessible over
> the Internet? That would probably make it easier for the KHTML guys to
> track down the crasher.


It isn't, it is part of a product I am developing. The page in question is=
in=20
xml. (Headers set by php: content-type: text/xml)


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" >


It has got some linked stylesheets, and a linked javascript file.

What happens is, there is a selectbox with some options, and if the "Add"=20
button is pressed, then the selectbox is enumerated to pass all the options=
=20
to the new window as urlencoded parameters.

The javascript function responsible for the processing:

function periodpicker_inline_action_edit(globalname,current selection)
{
xquery=3Dperiodpicker_inline_preparequery(globalna me,1);
info=3Dperiodpicker_inline_preparequery(globalname ,2);
=09
xquery+=3D'&date_data=3D'+escape(info['value'])+'&xaction=3Dedit&index=3D'+=
info['index'];
periodpicker_inline_openwindow(globalname,xquery);
}

function periodpicker_inline_preparequery(globalname,withse lected)
{
//prepare the query for the popup
query=3D'';
if(withselected=3D=3Dundefined)
mode=3D0
else
mode=3Dwithselected;

destination=3Ddocument.getElementById(globalname+'[seldates]');

if(destination)
{
count=3Ddestination.length;
for(counter=3D0; counter {
xsel=3Ddestination[counter].selected;
switch(mode)
{case 1: if(xsel)
break; //without selected
case 0:=20
query+=3D(query.length>0?'&':'')+'date[]=3D'+destination[counter].value;=20
break; // with selected
case 2: if(xsel)
{retvalue=3DArray();
retvalue['value']=3Ddestination[counter].value;
retvalue['index']=3Dcounter;
return retvalue;} //only return selected
break;
}
}
}
query+=3D(query.length>0?'&':'')+'name=3D'+
escape(globalname)+'&description=3D'+
escape(document.getElementById(globalname+'[desc]').innerHTML);
return query;
}

function periodpicker_inline_openwindow(globalname,urlquery )
{
windowname=3Dglobalname+'_popup';
windowlocation=3D'../pages/calendar.php'+'?'+urlquery;
try
{
//seems like ie doesn't use the outerHeight, wheras mozilla uses outerHei=
ght=20
even if height is specified
handle=3Dwindow.open(windowlocation,
windowname,
'location=3Dno, menubar=3Dno, directories=3Dno, toolbar=3Dno, stat=
us=3Dyes,=20
titlebar=3Dyes, resizeable=3Dyes, scrollbars=3Dno, dependant=3Dyes, left=3D=
250,=20
top=3D200, height=3D350, outerHeight=3D375, width=3D550');
handle.focus();
}
catch(bug)
{
alert('Oops! Seems like you have a popup blocker that is preventing the=
=20
window to be shown!\n\nPlease disable it, reload this page, and try again.'=
);
}
}

Hopefully this provides enough clues as to what causes the crash.

Andy
=2D-=20
Registered Linux User Number 379093
Now listening to [silence]

amaroK::the Coolest Media Player in the known Universe!


****roaches and socialites are the only things that can=20
stay up all night and eat anything.
Herb Caen
=2D-
=2D- --BEGIN GEEK CODE BLOCK-----
Version: 3.1
GAT/O/>E$ d-(---)>+ s+)>: a--(-)>? C++++$(+++) UL++++>++++$ P-(+)>++
L+++>++++$ E---(-)@ W+++>+++$ !N@ o? !K? W--(---) !O !M- V-- PS++(+++)
PE--(-) Y+ PGP++(+++) t+(++) 5-- X++ R*(+)@ !tv b-() DI(+) D+(+++) G(+)
e>++++$@ h++(*) r-->++ y--()>++++
=2D- ---END GEEK CODE BLOCK------
=2D-
Check out these few php utilities that I released
under the GPL2 and that are meant for use with a=20
php cli binary:
=20
http://www.vlaamse-kern.com/sas/

=2D-

--nextPart1265253.un9XsCm2Aa
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBC9ty3ybiXyKOFGSYRAir+AJ94zlcH36TrzfCivVfDR7 j3MhbkgACgzwl9
CjE46MKjzDHv5hvGTuhcN8o=
=2PAe
-----END PGP SIGNATURE-----

--nextPart1265253.un9XsCm2Aa--

--===============0635728472==
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

=

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscrib=

e <<

--===============0635728472==--