on 03-08-2013 6:05 AM
Hi
I have a dialog that opens up on an event. However, on press of <ESC> key it closes the dialog. Is there a way to override this or avoid this.
Regards
Harshad
As quick & dirty solution you can try:
Disabling escape key for all dialogs:
sap.ui.commons.Dialog.prototype.onsapescape = function(){ };
Original looks like that:
sap.ui.commons.Dialog.prototype.onsapescape = function(e){this.close();e.preventDefault();e.stopPropagation()};
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.