Default and cancel buttons work again.
[GB.WEB.GUI] * BUG: Default and cancel buttons work again.
This commit is contained in:
parent
8ef2747def
commit
d2b82a2735
2 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
# Gambas Project File 3.0
|
||||
Title=Web application development using processes as session
|
||||
Startup=Webform3
|
||||
Startup=Webform1
|
||||
Icon=.hidden/webform.png
|
||||
Version=3.17.90
|
||||
VersionFile=1
|
||||
|
|
|
@ -1531,6 +1531,9 @@ Private Sub DisableShortcuts()
|
|||
Next
|
||||
Endif
|
||||
|
||||
If $iDefault Then cShortcut["ENTER"] = True
|
||||
If $iCancel Then cShortcut["ESCAPE"] = True
|
||||
|
||||
If cShortcut.Count = 0 Then Return
|
||||
|
||||
_AddJavascript("gw.shortcuts = " & JS(cShortcut))
|
||||
|
|
Loading…
Reference in a new issue