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:
Chris Houseknecht
2014-07-10 13:15:07 -04:00
parent 3f53fc97b2
commit bfc8f89205
4 changed files with 18 additions and 13 deletions

View File

@@ -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;
},