mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 23:19:20 +00:00
[feature] [setup] Added Refresh
This commit is contained in:
@@ -7,7 +7,15 @@ wn.pages['Setup'].onload = function(wrapper) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
wrapper.appframe.add_module_icon("Setup");
|
wrapper.appframe.add_module_icon("Setup");
|
||||||
|
wrapper.appframe.add_button("Refresh", function() {
|
||||||
|
wn.pages.Setup.make(wrapper);
|
||||||
|
}, "icon-refresh");
|
||||||
|
|
||||||
|
wn.pages.Setup.make(wrapper);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
wn.pages.Setup.make = function(wrapper) {
|
||||||
var body = $(wrapper).find(".layout-main"),
|
var body = $(wrapper).find(".layout-main"),
|
||||||
total = 0,
|
total = 0,
|
||||||
completed = 0;
|
completed = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user