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
commit 3fff094d6e
6 changed files with 9 additions and 8 deletions

View File

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

View File

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

View File

@ -99,8 +99,8 @@ export default [
populateAdhocCommand(flag);
});
$scope.$on('populated', function(e, data, flag) {
populateAdhocCommand(flag);
$scope.$on('populated', function() {
populateAdhocCommand(false);
});
// 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;
$scope.$on('populated', function(e, data, flag) {
populateLogAggregator(flag);
$scope.$on('populated', function() {
populateLogAggregator(false);
});
$scope.$on('LOG_AGGREGATOR_TYPE_populated', function(e, data, flag) {

View File

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

View File

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