fix: method syntax
This commit is contained in:
parent
91b6818492
commit
bd487f7ef3
1 changed files with 1 additions and 1 deletions
|
|
@ -473,7 +473,7 @@ frappe.Application = class Application {
|
||||||
$('<link rel="shortcut icon" href="' + link + '" type="image/x-icon">').appendTo("head");
|
$('<link rel="shortcut icon" href="' + link + '" type="image/x-icon">').appendTo("head");
|
||||||
$('<link rel="icon" href="' + link + '" type="image/x-icon">').appendTo("head");
|
$('<link rel="icon" href="' + link + '" type="image/x-icon">').appendTo("head");
|
||||||
}
|
}
|
||||||
trigger_primary_action: function() {
|
trigger_primary_action() {
|
||||||
// to trigger change event on active input before triggering primary action
|
// to trigger change event on active input before triggering primary action
|
||||||
$(document.activeElement).blur();
|
$(document.activeElement).blur();
|
||||||
// wait for possible JS validations triggered after blur (it might change primary button)
|
// wait for possible JS validations triggered after blur (it might change primary button)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue