mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 12:57:40 -02:30
On Job Template add page, move slider handle back to default value if Reset button clicked.
This commit is contained in:
@@ -266,6 +266,7 @@ function JobTemplatesAdd ($scope, $rootScope, $compile, $location, $log, $routeP
|
|||||||
scope.formReset = function() {
|
scope.formReset = function() {
|
||||||
// Defaults
|
// Defaults
|
||||||
generator.reset();
|
generator.reset();
|
||||||
|
$('#forks-slider').slider("option", "value", scope.forks);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user