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

fix sticky handler

parent 0e34fc9c
...@@ -112,7 +112,7 @@ function Page_Distrubion(socket) ...@@ -112,7 +112,7 @@ function Page_Distrubion(socket)
$('#packages ul').append('<li class="text-muted">No packages yet</li>') $('#packages ul').append('<li class="text-muted">No packages yet</li>')
} }
packages.show() packages.show()
sticky.reset() sticky.update()
}, },
clean: function () { clean: function () {
$('#packages ul').html('') $('#packages ul').html('')
...@@ -201,7 +201,7 @@ function Page_Distrubion(socket) ...@@ -201,7 +201,7 @@ function Page_Distrubion(socket)
$('#sources').show() $('#sources').show()
} }
files.show() files.show()
sticky.reset() sticky.update()
}, },
clean: function() { clean: function() {
$('#logs ul').html(''); $('#logs ul').html('');
...@@ -344,6 +344,7 @@ function Page_Distrubion(socket) ...@@ -344,6 +344,7 @@ function Page_Distrubion(socket)
$("#sticky-package .name").html(view.package.name) $("#sticky-package .name").html(view.package.name)
$("#sticky-package .version").html(view.package.version) $("#sticky-package .version").html(view.package.version)
sticky.set_status() sticky.set_status()
sticky.show()
} }
}, },
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