-
28 Sep 2011 2:17 AM #1
Answered: I am using ext-gwt and I want to close my browser window on ext-gwt button click
Answered: I am using ext-gwt and I want to close my browser window on ext-gwt button click
how I can achive that in ext-gwt, please help
-
Best Answer Posted by micgala
FF does not allow scripts to close the window.
If you want to bypass this default setting, type about:config in ff.
Then make sure the "dom.allow_scripts_to_close_windows" property is set to true
-
28 Sep 2011 3:08 AM #2
Hi.
You cannot close the browser. You can close the window if your application is running on a popup.
Try doing it via jsni:
Code:private static native void closeWindow() /*-{ $wnd.close(); }-*/;
-
28 Sep 2011 5:19 AM #3
Thanks for reply, it is working fine in IE, but not working in FF 3.5.3
Thanks for reply, it is working fine in IE, but not working in FF 3.5.3
Thanks for reply, it is working fine in IE, but not working in FF 3.5.3
what i can do for ff
Thanks
vijay patil
-
28 Sep 2011 5:55 AM #4
FF does not allow scripts to close the window.
If you want to bypass this default setting, type about:config in ff.
Then make sure the "dom.allow_scripts_to_close_windows" property is set to true
-
2 Oct 2011 8:57 PM #5
Thanks, it's working for me
Thanks, it's working for me
Thanks, it's working for me


Reply With Quote