Przeglądaj źródła

[minor] pass null instead of false if there are no unsaved changes (#3860)

version-14
Makarand Bauskar 8 lat temu
committed by Rushabh Mehta
rodzic
commit
5cf03a4282
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      frappe/public/js/frappe/desk.js

+ 1
- 1
frappe/public/js/frappe/desk.js Wyświetl plik

@@ -494,7 +494,7 @@ frappe.Application = Class.extend({
if(doc.__unsaved) { unsaved_docs.push(doc.name); }
}
}
return unsaved_docs.length ? true : false;
return unsaved_docs.length ? true : null;
};
},



Ładowanie…
Anuluj
Zapisz