fix: set onboarding dialog as static
This commit is contained in:
parent
06953a3dc0
commit
0b415b3a49
4 changed files with 7 additions and 22 deletions
|
|
@ -1,20 +0,0 @@
|
|||
{
|
||||
"add_more_button": 0,
|
||||
"app": "Frappe",
|
||||
"creation": "2019-11-26 16:59:48.315297",
|
||||
"docstatus": 0,
|
||||
"doctype": "Setup Wizard Slide",
|
||||
"domains": [],
|
||||
"help_links": [],
|
||||
"idx": 0,
|
||||
"max_count": 3,
|
||||
"modified": "2019-11-26 17:00:49.350931",
|
||||
"modified_by": "Administrator",
|
||||
"name": "Welcome to ERPNext!",
|
||||
"owner": "Administrator",
|
||||
"slide_fields": [],
|
||||
"slide_module": "Core",
|
||||
"slide_order": 0,
|
||||
"slide_title": "Welcome to ERPNext!",
|
||||
"slide_type": "Information"
|
||||
}
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
"idx": 0,
|
||||
"image_src": "/assets/erpnext/images/illustrations/letterhead.png",
|
||||
"max_count": 0,
|
||||
"modified": "2019-11-26 18:21:01.509703",
|
||||
"modified": "2019-11-27 11:39:56.213373",
|
||||
"modified_by": "Administrator",
|
||||
"name": "Company Letter Head",
|
||||
"owner": "Administrator",
|
||||
|
|
|
|||
|
|
@ -145,6 +145,7 @@
|
|||
"public/js/frappe/ui/page.html",
|
||||
"public/js/frappe/ui/page.js",
|
||||
"public/js/frappe/ui/slides.js",
|
||||
"public/js/frappe/ui/onboarding_dialog.js",
|
||||
"public/js/frappe/ui/find.js",
|
||||
"public/js/frappe/ui/iconbar.js",
|
||||
"public/js/frappe/form/layout.js",
|
||||
|
|
|
|||
|
|
@ -106,7 +106,11 @@ frappe.setup.OnboardingDialog = class OnboardingDialog {
|
|||
}
|
||||
|
||||
setup() {
|
||||
this.dialog = new frappe.ui.Dialog({title: __("Let's Onboard!")});
|
||||
this.dialog = new frappe.ui.Dialog({
|
||||
static: true,
|
||||
minimizable: false,
|
||||
title: __("Let's Onboard!")
|
||||
});
|
||||
this.$wrapper = $(this.dialog.$wrapper).addClass('onboarding-dialog');
|
||||
this.slide_container = new frappe.ui.Slides({
|
||||
parent: this.dialog.body,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue