mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-26 06:30:06 -05:00
Teach dialogues about Escape to cancel, Enter to Save/OK, and F1 for help. Fixes #1535
This commit is contained in:
1 parent
ec5bc23dfd
commit
af43ccfc07
11 files changed
+118
-78
No files matched your search
@@ -254,7 +254,7 @@ define([
|
||||
return {
|
||||
buttons:[
|
||||
{
|
||||
text: gettext("Select"), className: "btn btn-primary fa fa-file file_manager_ok pg-alertify-button disabled"
|
||||
text: gettext("Select"), key: 13, className: "btn btn-primary fa fa-file file_manager_ok pg-alertify-button disabled"
|
||||
},
|
||||
{
|
||||
text: gettext("Cancel"), key: 27, className: "btn btn-danger fa fa-times pg-alertify-button"
|
||||
@@ -379,7 +379,7 @@ define([
|
||||
return {
|
||||
buttons:[
|
||||
{
|
||||
text: gettext("Select"), className: "btn btn-primary fa fa-file file_manager_ok pg-alertify-button disabled"
|
||||
text: gettext("Select"), key: 13, className: "btn btn-primary fa fa-file file_manager_ok pg-alertify-button disabled"
|
||||
},
|
||||
{
|
||||
text: gettext("Cancel"), key: 27, className: "btn btn-danger fa fa-times pg-alertify-button"
|
||||
@@ -502,7 +502,7 @@ define([
|
||||
return {
|
||||
buttons:[
|
||||
{
|
||||
text: gettext("Create"), className: "btn btn-primary fa fa-file file_manager_create file_manager_ok pg-alertify-button disabled"
|
||||
text: gettext("Create"), key: 13, className: "btn btn-primary fa fa-file file_manager_create file_manager_ok pg-alertify-button disabled"
|
||||
},
|
||||
{
|
||||
text: gettext("Cancel"), key: 27, className: "btn btn-danger fa fa-times file_manager_create_cancel pg-alertify-button"
|
||||
|
||||
Reference in new issue
Block a user