(sorry my english!!!)

Hello. First, FANTASTIC library.


Second, the problem: In the main javascript file of my project have for example 
this simple code:


Event.observe(window, 'load', window_load, false);
WindowCloseKey.init();

function window_load() {
    Event.observe(document.form1.btnVer, "click", btnVer_click, false);
}

function btnVer_click() {
    Dialog.confirm("Message", {windowParameters: {width: 300}, id: 
"DialogConfirm", ok: NuevaOp, cancel: 
function(){document.form1.btnVer.focus();}});
}

function NuevaOp() {
     Dialog.closeInfo();
 }
 


Ok. When the dialog draw, if I close with the OK button all continue work fine. 
But if I close the dialog with the CANCEL button, every time I press the Escape 
key (with focus in any element of the page. The page have 1 button and 3 or 4 
TextBoxes) generate the error
"element.parentNode has no properties" prototype.js (line 998)

(I use Firefox 2x with "FireBug" extension for debugging)

well, this is with 0.99 version PWC.
With 0.98 version, closing with OK button or CANCEL button generate the same 
strange status, next the dialog are closed.


What's is the problem? thanks


(again, sorry my english)


 __________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar
_______________________________________________
Javawin mailing list
[email protected]
http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com

Reply via email to