diff --git a/app/assets/javascripts/app/controllers/_application_controller_form.coffee b/app/assets/javascripts/app/controllers/_application_controller_form.coffee index 3f5859a30..a8511625d 100644 --- a/app/assets/javascripts/app/controllers/_application_controller_form.coffee +++ b/app/assets/javascripts/app/controllers/_application_controller_form.coffee @@ -108,7 +108,7 @@ class App.ControllerForm extends App.Controller if @fullForm if !@formClass @formClass = '' - fieldset = $('
').prepend( fieldset ) + fieldset = $('').prepend(fieldset) # bind form events if @events @@ -117,8 +117,11 @@ class App.ControllerForm extends App.Controller evs = eventSelector.split(' ') fieldset.find( evs[1] ).bind( evs[0], (e) -> callback(e) ) + # bind tool tips + fieldset.find('.js-helpMessage').tooltip() + # return form - return fieldset + fieldset ### diff --git a/app/assets/javascripts/app/controllers/sla.coffee b/app/assets/javascripts/app/controllers/sla.coffee index c591bc96d..a8f5160bf 100644 --- a/app/assets/javascripts/app/controllers/sla.coffee +++ b/app/assets/javascripts/app/controllers/sla.coffee @@ -60,7 +60,7 @@ class Index extends App.ControllerSubContent new App.ControllerGenericNew( pageData: title: 'SLAs' - object: 'Sla' + object: 'SLA' objects: 'SLAs' genericObject: 'Sla' container: @el.closest('.content') diff --git a/app/assets/javascripts/app/views/generic/attribute.jst.eco b/app/assets/javascripts/app/views/generic/attribute.jst.eco index 6c45d2493..b630f9d6e 100644 --- a/app/assets/javascripts/app/views/generic/attribute.jst.eco +++ b/app/assets/javascripts/app/views/generic/attribute.jst.eco @@ -1,6 +1,6 @@