Commit a3273563 authored by Leo Iannacone's avatar Leo Iannacone

fix check status update on sticky

parent cf687db5
...@@ -237,12 +237,16 @@ function Page_Distrubion(socket) ...@@ -237,12 +237,16 @@ function Page_Distrubion(socket)
} }
}, },
set_status: function(status_data) { set_status: function(status_data) {
console.log(status_data) if ( Utils.check_data_package(data)
&& status_data.distribution == data.distribution.name
&& status_data.package == data.package.orig_name)
{
var div = $("#sticky-view .status") var div = $("#sticky-view .status")
div.find('span.icon').remove() div.find('span.icon').remove()
div.html(div.html() + ' ' + Utils.get_status_icon_html(status_data)) div.html(div.html() + ' ' + Utils.get_status_icon_html(status_data))
} }
} }
}
var select = function() { var select = function() {
unselect() unselect()
......
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