Modified styling of modal dialog.

This commit is contained in:
chouseknecht
2013-06-19 17:12:50 -04:00
parent 15b720b42b
commit 7303107450
7 changed files with 65 additions and 24 deletions

View File

@@ -35,7 +35,9 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', '
scope.formModalActionLabel = 'Finished';
scope.formModalHeader = 'Add Group';
scope.formModalCancelShow = true;
scope.formModalActionClass = 'btn btn-success';
$('#form-modal .btn-info').removeClass('btn-info').addClass('btn-success');
$('#form-modal').modal();
scope.selected = [];
@@ -175,6 +177,8 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', '
scope.formModalCancelShow = true;
scope.parseType = 'json';
ParseTypeChange(scope);
$('#form-modal .btn-info').removeClass('btn-info').addClass('btn-success');
generator.reset();
var master={};
@@ -269,6 +273,8 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', '
scope.parseType = 'json';
ParseTypeChange(scope);
$('#form-modal .btn-info').removeClass('btn-info').addClass('btn-success');
// After the group record is loaded, retrieve any group variables
if (scope.groupLoadedRemove) {
scope.groupLoadedRemove();