View Full Version : How to leave the page without cancelling or saving form?
When someone just looks in the page where JA Submit is located, and wants to leave the page without doing anyting, joomla error comes up saying: save or cancell out to close the page properly.
Is there a way to go around it?
khanh le
02-15-2007, 01:00 AM
You must confirm to save or cancel your work. No other way, zuze.
Khanh, thank you for quick reply!
I was looking at joomla.org, they seem to have the same comopnent, but their page doe not need to be saved or canceled upon leaving...
http://www.joomla.org/component/option,com_submissions/Itemid,75/
If they do use JA Submit, than how would that was acchieved? I am wondering if wrapper would make a diference...
twincascos
03-13-2007, 02:31 PM
In your file, ja_submit.html.php
on line 30, find:
onunload = WarnUser;
and comment this to deactivate it.
//onunload = WarnUser;
this will allow your user to jump out of the submit page without receiving a warning.
This may create a security risk of some type, or it also may leave an sql connect open.
I'm not sure.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.