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.29 app/views/wiki/pages/create.js.coffee
tawork-0.0.28 app/views/wiki/pages/create.js.coffee
tawork-0.0.27 app/views/wiki/pages/create.js.coffee
tawork-0.0.26 app/views/wiki/pages/create.js.coffee
tawork-0.0.25 app/views/wiki/pages/create.js.coffee
tawork-0.0.24 app/views/wiki/pages/create.js.coffee
tawork-0.0.23 app/views/wiki/pages/create.js.coffee
tawork-0.0.22 app/views/wiki/pages/create.js.coffee
tawork-0.0.21 app/views/wiki/pages/create.js.coffee
tawork-0.0.20 app/views/wiki/pages/create.js.coffee
tawork-0.0.19 app/views/wiki/pages/create.js.coffee
tawork-0.0.18 app/views/wiki/pages/create.js.coffee
tawork-0.0.17 app/views/wiki/pages/create.js.coffee
tawork-0.0.16 app/views/wiki/pages/create.js.coffee
tawork-0.0.15 app/views/wiki/pages/create.js.coffee
tawork-0.0.14 app/views/wiki/pages/create.js.coffee
tawork-0.0.13 app/views/wiki/pages/create.js.coffee
tawork-0.0.12 app/views/wiki/pages/create.js.coffee
tawork-0.0.11 app/views/wiki/pages/create.js.coffee
tawork-0.0.10 app/views/wiki/pages/create.js.coffee