Merge pull request #5535 from jaredevantabor/ctit-reset

CTiT Revert All
This commit is contained in:
Jared Tabor
2017-02-23 17:00:48 -08:00
committed by GitHub
6 changed files with 9 additions and 8 deletions

View File

@@ -268,7 +268,7 @@ export default [
$scope.$on('populated', function() { $scope.$on('populated', function() {
startCodeMirrors(); startCodeMirrors();
populateLDAPGroupType(); populateLDAPGroupType(false);
}); });
angular.extend(authVm, { angular.extend(authVm, {

View File

@@ -449,6 +449,7 @@ export default [
.then(function() { .then(function() {
populateFromApi(); populateFromApi();
$scope[formTracker.currentFormName()].$setPristine(); $scope[formTracker.currentFormName()].$setPristine();
$scope.$broadcast('CUSTOM_LOGO_reverted');
}) })
.catch(function(error) { .catch(function(error) {
ProcessErrors($scope, error, status, formDefs[formTracker.getCurrent()], ProcessErrors($scope, error, status, formDefs[formTracker.getCurrent()],

View File

@@ -99,8 +99,8 @@ export default [
populateAdhocCommand(flag); populateAdhocCommand(flag);
}); });
$scope.$on('populated', function(e, data, flag) { $scope.$on('populated', function() {
populateAdhocCommand(flag); populateAdhocCommand(false);
}); });
// Fix for bug where adding selected opts causes form to be $dirty and triggering modal // Fix for bug where adding selected opts causes form to be $dirty and triggering modal

View File

@@ -152,8 +152,8 @@ export default [
var dropdownRendered = false; var dropdownRendered = false;
$scope.$on('populated', function(e, data, flag) { $scope.$on('populated', function() {
populateLogAggregator(flag); populateLogAggregator(false);
}); });
$scope.$on('LOG_AGGREGATOR_TYPE_populated', function(e, data, flag) { $scope.$on('LOG_AGGREGATOR_TYPE_populated', function(e, data, flag) {

View File

@@ -101,8 +101,8 @@
populatePendoTrackingState(flag); populatePendoTrackingState(flag);
}); });
$scope.$on('populated', function(e, data, flag){ $scope.$on('populated', function(){
populatePendoTrackingState(flag); populatePendoTrackingState(false);
}); });
angular.extend(uiVm, { angular.extend(uiVm, {

View File

@@ -179,7 +179,7 @@ function(ConfigurationUtils, i18n, $rootScope) {
scope.$parent[fieldKey] = ''; scope.$parent[fieldKey] = '';
filePickerButton.html(browseText); filePickerButton.html(browseText);
filePickerText.val(''); filePickerText.val('');
filePicker.value = ""; filePicker.context.value = "";
scope.imagePresent = false; scope.imagePresent = false;
} }
else { else {