[fix] setup wizard

This commit is contained in:
Rushabh Mehta 2016-07-21 18:01:42 +05:30
parent 39671e22c9
commit 7e472f898d

View File

@ -435,7 +435,7 @@ frappe.wiz.on("before_load", function() {
frappe.wiz.add_slide(erpnext.wiz.instructor);
frappe.wiz.add_slide(erpnext.wiz.room);
if(frappe.wizard.domain && frappe.wizard.domain !== 'Education') {
if(frappe.wizard && frappe.wizard.domain && frappe.wizard.domain !== 'Education') {
frappe.wiz.welcome_page = "#welcome-to-erpnext";
}
});