mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 20:00:43 -03:30
Inventory help- turned resizable off on modal dialog. Fixed compilation error.
This commit is contained in:
parent
763ed5241d
commit
926ec500e2
@ -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:",
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user