Commit 6c72b76a authored by Leo Iannacone's avatar Leo Iannacone

set sticky status on update

parent aa834067
...@@ -236,6 +236,11 @@ function Page_Distrubion(socket) ...@@ -236,6 +236,11 @@ function Page_Distrubion(socket)
if (Utils.check_data_package(data)) { if (Utils.check_data_package(data)) {
$("#sticky-view .package .name").html(data.package.name) $("#sticky-view .package .name").html(data.package.name)
$("#sticky-view .package .version").html(data.package.version) $("#sticky-view .package .version").html(data.package.version)
var status_data = {}
status_data.distribution = data.distribution.name
status_data.package = data.package.orig_name
status_data.status = data.package.status
sticky.set_status(status_data)
} }
}, },
set_status: function(status_data) { set_status: function(status_data) {
......
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