This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[minor] pass null instead of false if there are no unsaved changes (
#3860
)
version-14
Makarand Bauskar
8 years ago
committed by
Rushabh Mehta
parent
44ee24aa75
commit
5cf03a4282
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/public/js/frappe/desk.js
+ 1
- 1
frappe/public/js/frappe/desk.js
View File
@@ -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
;
};
},
Write
Preview
Loading…
Cancel
Save