Commit aa834067 authored by Leo Iannacone's avatar Leo Iannacone

save current package status in data

parent 31cbd3fa
...@@ -72,6 +72,8 @@ function Page_Distrubion(socket) ...@@ -72,6 +72,8 @@ function Page_Distrubion(socket)
var p_html = $("#packages li[id='package-"+ status_data.package + "'] a") var p_html = $("#packages li[id='package-"+ status_data.package + "'] a")
p_html.find('span.icon').remove() p_html.find('span.icon').remove()
p_html.html(p_html.html() + ' ' + Utils.get_status_icon_html(status_data)) p_html.html(p_html.html() + ' ' + Utils.get_status_icon_html(status_data))
if (Utils.check_data_package(data))
data.package.status = status_data.status
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment