Merge pull request #13817 from nextchamp-saqib/form-tour-position-fix
fix: handle case if position is not defined
This commit is contained in:
commit
29269cd01e
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ frappe.ui.form.FormTour = class FormTour {
|
|||
return {
|
||||
element,
|
||||
name,
|
||||
popover: { title, description, position: frappe.router.slug(position) },
|
||||
popover: { title, description, position: frappe.router.slug(position || 'Bottom') },
|
||||
onNext: on_next
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue