mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Schedules / Activity Stream
Changed status_change to schedule_change in schedules socket on test page. Started fixing activity stream brokeness.
This commit is contained in:
@@ -91,7 +91,7 @@ function SocketsController ($scope, $compile, ClearScope, Socket) {
|
||||
test_scope.messages.push(data);
|
||||
});
|
||||
|
||||
schedules_socket.on("status_changed", function(data) {
|
||||
schedules_socket.on("schedule_changed", function(data) {
|
||||
schedules_scope.messages.push(data);
|
||||
});
|
||||
|
||||
|
||||
@@ -19,9 +19,9 @@ angular.module('StreamWidget', ['RestServices', 'Utilities', 'StreamListDefiniti
|
||||
// Try not to overlap footer. Because stream is positioned absolute, the parent
|
||||
// doesn't resize correctly when stream is loaded.
|
||||
var sheight = $('#stream-content').height(),
|
||||
theight = parseInt($('#tab-content-container').css('min-height').replace(/px/, '')),
|
||||
theight = parseInt($('#main-view').css('min-height').replace(/px/, '')),
|
||||
height = (theight < sheight) ? sheight : theight;
|
||||
$('#tab-content-container').css({
|
||||
$('#main-view').css({
|
||||
"min-height": height
|
||||
});
|
||||
};
|
||||
@@ -79,7 +79,7 @@ angular.module('StreamWidget', ['RestServices', 'Utilities', 'StreamListDefiniti
|
||||
stream.detach();
|
||||
stream.empty();
|
||||
stream.unbind();
|
||||
$('#tab-content-container').css({
|
||||
$('#main-view').css({
|
||||
'min-height': 0
|
||||
}); //let the parent height go back to normal
|
||||
}, 500);
|
||||
|
||||
Reference in New Issue
Block a user