Inventory help- turned resizable off on modal dialog. Fixed compilation error.

This commit is contained in:
Chris Houseknecht 2014-01-31 17:35:44 -05:00
parent 763ed5241d
commit 926ec500e2
2 changed files with 3 additions and 8 deletions

View File

@ -39,7 +39,7 @@ angular.module('InventoryGroupsHelpDefinition', [])
{
intro: 'Cloud inventory: synchronize Tower with the cloud',
img: { src: 'groups004.png', maxWidth: 261, maxHeight: 221 },
box: "To pull the cloud inventory into Tower, initiate an inventory sync by clicking <i class=\"fa fa-exchange\"></i>.",
box: "To pull the cloud inventory into Tower, initiate an inventory sync by clicking <i class=\"fa fa-exchange\"></i>."
},
{
intro: "Groups can have subgroups:",

View File

@ -338,13 +338,8 @@ angular.module('Utilities',['RestServices', 'Utilities'])
closeOnEscape: true,
show: 500,
hide: 500,
close: function() { $('#help-modal').empty(); },
resizeStop: function(e, ui) {
// for some reason, after resizing the dialog the content doesn't expand to 100%
var dialog = $('.ui-dialog[aria-describedby="help-modal"]');
var content = dialog.find('#help-modal');
content.width( dialog.width() - 20);
}
resizable: false,
close: function() { $('#help-modal').empty(); }
});
// Make the buttons look like TB and add FA icons