Fixup sso message display in postinstall and info dialogs

This commit is contained in:
Johannes Zellner
2020-10-15 16:49:49 +02:00
parent 48f089e136
commit 7948d68ac7
2 changed files with 2 additions and 8 deletions

View File

@@ -40,13 +40,11 @@ angular.module('Application').controller('AppsController', ['$scope', '$timeout'
app: {},
message: '',
confirmed: false,
customAuth: false,
show: function (app) {
$scope.appPostInstallConfirm.app = app;
$scope.appPostInstallConfirm.message = app.manifest.postInstallMessage;
$scope.appPostInstallConfirm.confirmed = false;
$scope.appPostInstallConfirm.customAuth = !(app.manifest.addons['ldap'] || app.manifest.addons['oauth']);
$('#appPostInstallConfirmModal').modal('show');
@@ -66,12 +64,10 @@ angular.module('Application').controller('AppsController', ['$scope', '$timeout'
$scope.appInfo = {
app: {},
message: '',
customAuth: false,
show: function (app) {
$scope.appInfo.app = app;
$scope.appInfo.message = app.manifest.postInstallMessage;
$scope.appInfo.customAuth = !(app.manifest.addons['ldap'] || app.manifest.addons['oauth']);
$('#appinfoPostinstallMessage').collapse('hide');
$('#appInfoModal').modal('show');