Fixed issue with related set action buttons.

This commit is contained in:
chouseknecht 2013-10-07 17:21:48 -04:00
parent fc8b77823d
commit ac7f4af94d
3 changed files with 4 additions and 6 deletions

View File

@ -83,7 +83,7 @@ angular.module('OrganizationFormDefinition', [])
label: 'Edit',
ngClick: "edit('users', \{\{ user.id \}\}, '\{\{ user.username \}\}')",
icon: 'icon-edit',
'class': 'btn btn-default',
'class': 'btn-default',
awToolTip: 'Edit user'
},
"delete": {
@ -128,7 +128,7 @@ angular.module('OrganizationFormDefinition', [])
ngClick: "edit('users', \{\{ admin.id \}\}, '\{\{ admin.username \}\}')",
icon: 'icon-edit',
awToolTip: 'Edit administrator',
'class': 'btn btn-default'
'class': 'btn-default'
},
"delete": {
label: 'Delete',

View File

@ -722,8 +722,6 @@ angular.module('GroupsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', '
// Start the update process
scope.updateGroup = function() {
console.log('working on id: ' + scope.name);
console.log('source: ' + scope.source.value);
if (scope.source == "" || scope.source == null) {
Alert('Missing Configuration', 'The selected group is not configured for updates. You must first edit the group, provide Source settings, ' +
'and then run an update.', 'alert-info');

View File

@ -1522,9 +1522,9 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies'])
html += "<button type=\"button\" class=\"btn btn-xs";
html += (action['class']) ? " " + action['class'] : "";
html += "\" ";
html += "id=\"row" + action + "_btn\" ";
html += "id=\"row" + act + "_btn\" ";
html += this.attr(action,'ngClick');
html += this.attr(action, 'ngShow');
html += (action.ngShow) ? this.attr(action, 'ngShow') : "";
html += (action.awToolTip) ? this.attr(action,'awToolTip') : "";
html += (action.awToolTip) ? "data-placement=\"top\" " : "";
html += ">" + this.icon(action.icon);