changing "RESET" to "REVERT"

This commit is contained in:
jaredevantabor 2017-02-21 14:08:23 -08:00
parent 695a5e9a5d
commit 578988f2e4
2 changed files with 1 additions and 18 deletions

View File

@ -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, {

View File

@ -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>`;
}