Skip to content

Commit 293bf56

Browse files
Merge pull request #2620 from spadgett/pipeline-reload-on-search
Automatic merge from submit-queue. Bug 1527346 - Don't reload entire pipeline page on tab changes Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1527346 /kind bug /assign @jwforres /cc @jwforres
2 parents 16b8809 + 2a34d69 commit 293bf56

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Diff for: app/scripts/app.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ angular
116116
isPipeline: function ($route) {
117117
$route.current.params.isPipeline = true;
118118
}
119-
}
119+
},
120+
reloadOnSearch: false
120121
})
121122
.when('/project/:project/edit/yaml', {
122123
templateUrl: 'views/edit/yaml.html',

Diff for: dist/scripts/scripts.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1087,7 +1087,8 @@ resolve: {
10871087
isPipeline: [ "$route", function(e) {
10881088
e.current.params.isPipeline = !0;
10891089
} ]
1090-
}
1090+
},
1091+
reloadOnSearch: !1
10911092
}).when("/project/:project/edit/yaml", {
10921093
templateUrl: "views/edit/yaml.html",
10931094
controller: "EditYAMLController"

0 commit comments

Comments
 (0)