Closed (fixed)
Project:
Automodal
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2011 at 09:30 UTC
Updated:
28 Nov 2013 at 12:10 UTC
Jump to comment: Most recent
Sometimes we need to make impossible (or at least difficult) for users to close the modalframe using the 'x' button or pressing escape. But instead we want want to force them into using whatever form/page is inside the modalframe.
Simply adding hiding the 'x' button, and disabling the escape button should be enough for this.
Is it possible to add this? What do you think?
Comments
Comment #1
dsnopekSee this post on StackOverflow about how to do this:
http://stackoverflow.com/questions/896777/remove-close-button-on-jqueryu...
You'll have to alter the settings to set "closeOnEscape" to FALSE and the add some CSS to hide the button. This can be done from a custom module.