Sha256: c503d833ce645ec6fbfae7ced1c50b1e330edff54f8151cb5364a42be051851b

Contents?: true

Size: 586 Bytes

Versions: 49

Compression:

Stored size: 586 Bytes

Contents

<% if @ticket.errors.any? %>
  alert <%=raw @ticket.errors.to_a.to_json %>
<% else %>
  $("#ticket_<%= @ticket.id %> .ticket-details.panel")
    .find(".panel-heading").remove().end()
    .find(".ticket-description").remove().end()
    .prepend('<%=j render 'title_and_description', ticket: @ticket %>')
  $("#ticket_<%= @ticket.id %> .edit-ticket-details.panel").hide()
  $("#ticket_<%= @ticket.id %> .ticket-details.panel").show()
  $(".ticket[data-ticket-id=<%= @ticket.id %>] > #activities")
    .prepend('<%=j render 'activity', ticket: @ticket, activity: @activity %>')
<% end %>

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
tawork-0.0.29 app/views/tickets/update.js.coffee
tawork-0.0.28 app/views/tickets/update.js.coffee
tawork-0.0.27 app/views/tickets/update.js.coffee
tawork-0.0.26 app/views/tickets/update.js.coffee
tawork-0.0.25 app/views/tickets/update.js.coffee
tawork-0.0.24 app/views/tickets/update.js.coffee
tawork-0.0.23 app/views/tickets/update.js.coffee
tawork-0.0.22 app/views/tickets/update.js.coffee
tawork-0.0.21 app/views/tickets/update.js.coffee
tawork-0.0.20 app/views/tickets/update.js.coffee
tawork-0.0.19 app/views/tickets/update.js.coffee
tawork-0.0.18 app/views/tickets/update.js.coffee
tawork-0.0.17 app/views/tickets/update.js.coffee
tawork-0.0.16 app/views/tickets/update.js.coffee
tawork-0.0.15 app/views/tickets/update.js.coffee
tawork-0.0.14 app/views/tickets/update.js.coffee
tawork-0.0.13 app/views/tickets/update.js.coffee
tawork-0.0.12 app/views/tickets/update.js.coffee
tawork-0.0.11 app/views/tickets/update.js.coffee
tawork-0.0.10 app/views/tickets/update.js.coffee