Sha256: 25ffc60239ef52b97596e61ea9119583b422c37971512df2b59c9a07c0fd74fc

Contents?: true

Size: 333 Bytes

Versions: 49

Compression:

Stored size: 333 Bytes

Contents

<% if @ticket.errors.any? %>
  alert <%=raw @ticket.errors.to_a.to_json %>
<% else %>
  $(".tree > ol").append('<%=j render 'tree_node', ticket: @ticket %>')
  $("#new_ticket_tabs").replaceWith('<%=j render 'form', tab: @ticket.type.underscore %>')
  $("#<%= @ticket.type.underscore %>-tab input[type=text]:first").focus()
<% end %>

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
tawork-0.0.50 app/views/tickets/create.js.coffee
tawork-0.0.49 app/views/tickets/create.js.coffee
tawork-0.0.48 app/views/tickets/create.js.coffee
tawork-0.0.47 app/views/tickets/create.js.coffee
tawork-0.0.46 app/views/tickets/create.js.coffee
tawork-0.0.45 app/views/tickets/create.js.coffee
tawork-0.0.44 app/views/tickets/create.js.coffee
tawork-0.0.43 app/views/tickets/create.js.coffee
tawork-0.0.42 app/views/tickets/create.js.coffee
tawork-0.0.41 app/views/tickets/create.js.coffee
tawork-0.0.40 app/views/tickets/create.js.coffee
tawork-0.0.39 app/views/tickets/create.js.coffee
tawork-0.0.38 app/views/tickets/create.js.coffee
tawork-0.0.37 app/views/tickets/create.js.coffee
tawork-0.0.36 app/views/tickets/create.js.coffee
tawork-0.0.35 app/views/tickets/create.js.coffee
tawork-0.0.34 app/views/tickets/create.js.coffee
tawork-0.0.33 app/views/tickets/create.js.coffee
tawork-0.0.31 app/views/tickets/create.js.coffee
tawork-0.0.30 app/views/tickets/create.js.coffee