Sha256: f2dcc7f83eece3ee669d1bd9a23e3d87d514da019f9d7a0a1e6544983cb4b118

Contents?: true

Size: 266 Bytes

Versions: 43

Compression:

Stored size: 266 Bytes

Contents

<% if @page.errors.any? %>
  console.log <%=raw @page.errors.to_hash.to_json %>
<% else %>
  $(".edit-helper").toggleClass("hide")
  $(".save").hide()
  $(".edit").show()
  tinyMCE.remove('div');
  window.location = <%=raw wiki_page_path(@page).to_json %>
<% end %>

Version data entries

43 entries across 43 versions & 1 rubygems

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