From 8f81a6f6c6a90cb79178c8f0c0c74c4e3e2f52e0 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Thu, 25 Jul 2013 15:01:44 +0530 Subject: [PATCH] [feature] [setup] Added Refresh --- setup/page/setup/setup.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/setup/page/setup/setup.js b/setup/page/setup/setup.js index 1844d5d03c..db752b138c 100644 --- a/setup/page/setup/setup.js +++ b/setup/page/setup/setup.js @@ -7,7 +7,15 @@ wn.pages['Setup'].onload = function(wrapper) { }); 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"), total = 0, completed = 0;