Sfoglia il codice sorgente

fix: method syntax

version-14
Faris Ansari 4 anni fa
parent
commit
bd487f7ef3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      frappe/public/js/frappe/desk.js

+ 1
- 1
frappe/public/js/frappe/desk.js Vedi File

@@ -473,7 +473,7 @@ frappe.Application = class Application {
$('<link rel="shortcut 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
$(document.activeElement).blur();
// wait for possible JS validations triggered after blur (it might change primary button)


Caricamento…
Annulla
Salva