Skip to content

Commit 486de8d

Browse files
committed
validateClicked is unused as of 7fe831c
1 parent c91c5e1 commit 486de8d

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

app/javascript/oldjs/services/miq_service.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -102,19 +102,6 @@ ManageIQ.angular.app.service('miqService', ['$q', 'API', '$window', function($q,
102102
$event.preventDefault();
103103
};
104104

105-
this.validateClicked = function($event, authType, formSubmit, angularForm, url) {
106-
miqService.validateWithREST($event, authType, url, formSubmit)
107-
.then(function success(data) {
108-
if (data.level === 'error') {
109-
angularForm.default_auth_status.$setViewValue(false);
110-
} else {
111-
angularForm.default_auth_status.$setViewValue(true);
112-
}
113-
miqService.miqFlash(data.level, data.message);
114-
miqService.sparkleOff();
115-
});
116-
};
117-
118105
this.disabledClick = function($event) {
119106
$event.preventDefault();
120107
};

0 commit comments

Comments
 (0)