mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-16 03:29:16 +00:00
[toolbars] [design] commonified into common toolbar
This commit is contained in:
@@ -23,7 +23,7 @@ wn.pages['sales-analytics'].onload = function(wrapper) {
|
||||
new erpnext.SalesAnalytics(wrapper);
|
||||
|
||||
wrapper.appframe.add_home_breadcrumb()
|
||||
wrapper.appframe.add_module_breadcrumb("Selling")
|
||||
wrapper.appframe.add_module_icon("Selling")
|
||||
wrapper.appframe.add_breadcrumb("icon-bar-chart")
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
pscript['onload_Sales Browser'] = function(wrapper){
|
||||
wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'));
|
||||
wrapper.appframe.add_home_breadcrumb()
|
||||
wrapper.appframe.add_module_breadcrumb("Selling")
|
||||
wrapper.appframe.add_module_icon("Selling")
|
||||
|
||||
wrapper.appframe.add_button('Refresh', function() {
|
||||
wrapper.make_tree();
|
||||
|
||||
Reference in New Issue
Block a user