diff --git a/erpnext/public/js/cart.js b/erpnext/public/js/cart.js index 69357ee6ef9..14a5ac3a4ca 100644 --- a/erpnext/public/js/cart.js +++ b/erpnext/public/js/cart.js @@ -1,6 +1,7 @@ // Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors // License: GNU General Public License v3. See license.txt - +import "../../../../frappe/frappe/public/js/controls.bundle"; +import "../../../../frappe/frappe/public/js/dialog.bundle"; // js inside blog page // shopping cart diff --git a/erpnext/templates/pages/cart.html b/erpnext/templates/pages/cart.html index 2b7d9e35239..89bc2993b78 100644 --- a/erpnext/templates/pages/cart.html +++ b/erpnext/templates/pages/cart.html @@ -127,6 +127,4 @@ {% block base_scripts %} {{ include_script("frappe-web.bundle.js") }} -{{ include_script("controls.bundle.js") }} -{{ include_script("dialog.bundle.js") }} {% endblock %}