mirror of
https://github.com/ansible/awx.git
synced 2026-08-04 03:50:01 -02:30
Job detail page re-refactor
Fixed host link on event viewer and tooltip on dialog. Tightened up job tab page row calculation. It now assumes rows will not hit 47px height until width drops to below 1350px.
This commit is contained in:
@@ -38,7 +38,7 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'Utilities', 'ListGenerator
|
||||
// Returns scope of form.
|
||||
//
|
||||
|
||||
var element, fld, set, show;
|
||||
var element, fld, set, show, self = this;
|
||||
|
||||
if (options.modal) {
|
||||
if (options.modal_body_id) {
|
||||
@@ -190,13 +190,15 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'Utilities', 'ListGenerator
|
||||
});
|
||||
}
|
||||
|
||||
if (!this.scope.$$phase) {
|
||||
if (self.scope && !self.scope.$$phase) {
|
||||
setTimeout(function() {
|
||||
this.scope.$digest();
|
||||
if (self.scope) {
|
||||
self.scope.$digest();
|
||||
}
|
||||
}, 100);
|
||||
}
|
||||
|
||||
return this.scope;
|
||||
return self.scope;
|
||||
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user