mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
changing "RESET" to "REVERT"
This commit is contained in:
parent
695a5e9a5d
commit
578988f2e4
@ -103,23 +103,6 @@
|
||||
|
||||
$scope.$on('populated', function(e, data, flag){
|
||||
populatePendoTrackingState(flag);
|
||||
// if(!dropdownRendered) {
|
||||
// dropdownRendered = true;
|
||||
// CreateSelect2({
|
||||
// element: '#configuration_ui_template_PENDO_TRACKING_STATE',
|
||||
// multiple: false,
|
||||
// placeholder: i18n._('Select commands'),
|
||||
// opts: [{
|
||||
// id: $scope.$parent.PENDO_TRACKING_STATE,
|
||||
// text: $scope.$parent.PENDO_TRACKING_STATE
|
||||
// }]
|
||||
// });
|
||||
// // Fix for bug where adding selected opts causes form to be $dirty and triggering modal
|
||||
// // TODO Find better solution for this bug
|
||||
// $timeout(function(){
|
||||
// $scope.$parent.configuration_ui_template_form.$setPristine();
|
||||
// }, 1000);
|
||||
// }
|
||||
});
|
||||
|
||||
angular.extend(uiVm, {
|
||||
|
||||
@ -678,7 +678,7 @@ angular.module('FormGenerator', [GeneratorHelpers.name, 'Utilities', listGenerat
|
||||
|
||||
if(field.reset && !field.disabled) {
|
||||
var resetValue = "'" + field.reset+ "'";
|
||||
var resetMessage = i18n._('Reset');
|
||||
var resetMessage = i18n._('Revert');
|
||||
html+= `<a class="Form-resetValue" ng-click="resetValue(${resetValue})">${resetMessage}</a>`;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user