Bugfixes
This commit is contained in:
parent
9f825906f4
commit
87f510858b
|
@ -15,7 +15,7 @@ function($scope, BuildListsService, $location, $interval, $uibModal) {
|
|||
if(refresh) {
|
||||
$interval.cancel(refresh);
|
||||
}
|
||||
refresh = $interval($scope.getBuildLists, 60000);
|
||||
refresh = $interval(function() { $scope.getBuildLists() }, 60000);
|
||||
}
|
||||
else if(!autoreload && refresh) {
|
||||
$interval.cancel(refresh);
|
||||
|
|
|
@ -84,8 +84,7 @@ class Projects::BuildListsController < Projects::BaseController
|
|||
else
|
||||
BuildList.where(id: build_lists.map(&:id)).update_all(group_id: build_lists[0].id) if build_lists.size > 1
|
||||
flash[:notice] = notices.join('<br>').html_safe
|
||||
puts root_path(anchor: "project=" + @project.name_with_owner)
|
||||
redirect_to root_path(anchor: "?project=" + @project.name_with_owner)
|
||||
redirect_to project_build_lists_path(@project.name_with_owner)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -49,8 +49,8 @@
|
|||
|
||||
= hidden_field_tag :from_build_list_id, params[:build_list_id] if params[:build_list_id].present?
|
||||
|
||||
.col-xs-12.col-sm-8.col-sm-offset-2
|
||||
%hr
|
||||
.row.top-space
|
||||
.pull-right
|
||||
= button_tag type: :submit,
|
||||
data: {'disable-with' => t('layout.processing')},
|
||||
class: 'btn btn-primary btn-lg btn-block' do
|
||||
|
|
Loading…
Reference in New Issue