Setup wizard fixes

This commit is contained in:
Anand Doshi
2015-04-02 15:39:44 +05:30
parent ffc190d34d
commit 54448aabd6
2 changed files with 1 additions and 2 deletions

View File

@@ -87,7 +87,6 @@ def install(country=None):
{'doctype': 'Designation', 'designation_name': _('Head of Marketing and Sales')}, {'doctype': 'Designation', 'designation_name': _('Head of Marketing and Sales')},
{'doctype': 'Designation', 'designation_name': _('Software Developer')}, {'doctype': 'Designation', 'designation_name': _('Software Developer')},
{'doctype': 'Designation', 'designation_name': _('Designer')}, {'doctype': 'Designation', 'designation_name': _('Designer')},
{'doctype': 'Designation', 'designation_name': _('Assistant')},
{'doctype': 'Designation', 'designation_name': _('Researcher')}, {'doctype': 'Designation', 'designation_name': _('Researcher')},
# territory # territory

View File

@@ -616,7 +616,7 @@ $.extend(erpnext.wiz, {
var d = msgprint(__("There were errors.")); var d = msgprint(__("There were errors."));
d.custom_onhide = function() { d.custom_onhide = function() {
frappe.set_route(erpnext.wiz.page_name, "0"); frappe.set_route(erpnext.wiz.wizard.page_name, erpnext.wiz.wizard.slides.length - 1);
}; };
} }
}); });