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