fix(dialog): prevent help text display when primary button is focused or active
This commit is contained in:
parent
299a15652f
commit
c7f72cc315
2 changed files with 4 additions and 0 deletions
|
|
@ -1191,6 +1191,8 @@ export default class Grid {
|
|||
}
|
||||
|
||||
function show_help_text() {
|
||||
if (dialog.get_primary_btn().is(":focus, :active")) return;
|
||||
|
||||
let value = dialog.get_value("value");
|
||||
if (value == null || value === "") {
|
||||
dialog.set_df_property(
|
||||
|
|
|
|||
|
|
@ -420,6 +420,8 @@ export default class BulkOperations {
|
|||
}
|
||||
|
||||
function show_help_text() {
|
||||
if (dialog.get_primary_btn().is(":focus, :active")) return;
|
||||
|
||||
let value = dialog.get_value("value");
|
||||
if (value == null || value === "") {
|
||||
dialog.set_df_property(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue