Hello Prasanthi,
I think you have to read the previous mails of the this thread, Sachin
Kanojiya already replied to this.
This is another way of doing the same, place
"window.history.forward(0); " on window load event.like
Event.observe(window, 'load', function() {...............});
And one more thing prototype.js is library file so its better to add
custom code in other js file.
Thanks Jacques for the link. Prashanthi please refer the link given by
Jacques.
--
Thanks& Regards:
Ankit Jain
Enterprise Software Developer
Hotwax Media Pvt. Ltd.
www.hotwaxmedia.com
On Wednesday 16 June 2010 05:13 PM, Jacques Le Roux wrote:
I think it's time for you to help yourself
https://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-AjaxJavascriptJson
Jacques
From: "prasanthi_ofbiz" <[email protected]>
Dear Ankit,
I have added this code in the prototype.js like
onRightClick: Event.observe(window, 'contextmenu', function(event)
{event.stop();});
This will restrict user on right click.
But its not restrict user to click on 'Back' link of browser.
How to resolve the same
Regards,
Prasanthi
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/How-to-disable-right-click-and-back-buttons-after-logged-in-into-ofbiz-tp2238341p2257187.html
Sent from the OFBiz - User mailing list archive at Nabble.com.