Fixup sso message display in postinstall and info dialogs
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user