mirror of
https://github.com/ansible/awx.git
synced 2026-05-24 00:57:48 -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);
|
test_scope.messages.push(data);
|
||||||
});
|
});
|
||||||
|
|
||||||
schedules_socket.on("status_changed", function(data) {
|
schedules_socket.on("schedule_changed", function(data) {
|
||||||
schedules_scope.messages.push(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
|
// Try not to overlap footer. Because stream is positioned absolute, the parent
|
||||||
// doesn't resize correctly when stream is loaded.
|
// doesn't resize correctly when stream is loaded.
|
||||||
var sheight = $('#stream-content').height(),
|
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;
|
height = (theight < sheight) ? sheight : theight;
|
||||||
$('#tab-content-container').css({
|
$('#main-view').css({
|
||||||
"min-height": height
|
"min-height": height
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
@@ -79,7 +79,7 @@ angular.module('StreamWidget', ['RestServices', 'Utilities', 'StreamListDefiniti
|
|||||||
stream.detach();
|
stream.detach();
|
||||||
stream.empty();
|
stream.empty();
|
||||||
stream.unbind();
|
stream.unbind();
|
||||||
$('#tab-content-container').css({
|
$('#main-view').css({
|
||||||
'min-height': 0
|
'min-height': 0
|
||||||
}); //let the parent height go back to normal
|
}); //let the parent height go back to normal
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|||||||
Reference in New Issue
Block a user