diff --git a/app/assets/javascripts/app/controllers/ticket_zoom.coffee b/app/assets/javascripts/app/controllers/ticket_zoom.coffee index 73fc47fc1..6df84a8b0 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom.coffee @@ -808,7 +808,8 @@ class App.TicketZoom extends App.Controller @autosaveStop() # validate ticket form using HTML5 validity check - if !@$('.edit').parent().get(0).reportValidity() + element = @$('.edit').parent().get(0) + if element && element.reportValidity && !element.reportValidity() @submitEnable(e) @autosaveStart() return