fix: show headline instead of save

This commit is contained in:
Raffael Meyer 2020-10-13 15:28:06 +02:00 committed by GitHub
parent 1849c4f2cf
commit f7e45d1acd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ frappe.ui.form.on('Web Template', {
// the next save. Changes will get overwritten from the backend
// on save and should not be possible in the UI.
frm.toggle_display('template', false);
frm.save();
frm.dashboard.set_headline(__('Please save to edit the template.'));
}
}
});