fix success spelling

This commit is contained in:
Faris Ansari 2017-09-14 11:54:21 +05:30 committed by GitHub
parent 884f00eed8
commit 0180b3fd3a

View file

@ -281,7 +281,7 @@ frappe.ready(function() {
if(!data.exc) {
frappe.doc_name = data.message;
if(!frappe.login_required) {
show_sucess_message();
show_success_message();
}
if(frappe.is_new && frappe.login_required) {
@ -304,7 +304,7 @@ frappe.ready(function() {
return true;
}
function show_sucess_message() {
function show_success_message() {
$form.addClass("hide");
$(".comments, .introduction, .page-head").addClass("hide");
scroll(0, 0);