[minor] don't give save tip everytime
This commit is contained in:
parent
6985d4127e
commit
f6bd49360c
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ frappe.ui.form.Toolbar = Class.extend({
|
|||
} else {
|
||||
var click = {
|
||||
"Save": function() {
|
||||
if(!frappe.dom.is_touchscreen()) {
|
||||
if(!frappe.dom.is_touchscreen() && Math.random() < 0.30) {
|
||||
show_alert(__("You can also use Ctrl+S to Save"));
|
||||
}
|
||||
me.frm.save('Save', null, this);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue