Sha256: bda388c1cee92f08e3e33536c836670fd5e1c36f640d78bea343629bc6ccb4f0

Contents?: true

Size: 357 Bytes

Versions: 19

Compression:

Stored size: 357 Bytes

Contents

<% if @page.errors.any? %>
  alert <%=raw @page.errors.full_messages.to_json %>
<% else %>
  $(".page_<%= @page.id %> .last-updated")
    .replaceWith('<%=j render 'last_updated' %>')
  $(".page_<%= @page.id %> .last-updated time").timeago()
  $(".edit-helper").toggleClass("hide")
  $(".save").hide()
  $(".edit").show()
  tinyMCE.remove('div');
<% end %>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
tawork-0.0.24 app/views/wiki/pages/update.js.coffee
tawork-0.0.23 app/views/wiki/pages/update.js.coffee
tawork-0.0.22 app/views/wiki/pages/update.js.coffee
tawork-0.0.21 app/views/wiki/pages/update.js.coffee
tawork-0.0.20 app/views/wiki/pages/update.js.coffee
tawork-0.0.19 app/views/wiki/pages/update.js.coffee
tawork-0.0.18 app/views/wiki/pages/update.js.coffee
tawork-0.0.17 app/views/wiki/pages/update.js.coffee
tawork-0.0.16 app/views/wiki/pages/update.js.coffee
tawork-0.0.15 app/views/wiki/pages/update.js.coffee
tawork-0.0.14 app/views/wiki/pages/update.js.coffee
tawork-0.0.13 app/views/wiki/pages/update.js.coffee
tawork-0.0.12 app/views/wiki/pages/update.js.coffee
tawork-0.0.11 app/views/wiki/pages/update.js.coffee
tawork-0.0.10 app/views/wiki/pages/update.js.coffee
tawork-0.0.9 app/views/wiki/pages/update.js.coffee
tawork-0.0.8 app/views/wiki/pages/update.js.coffee
tawork-0.0.7 app/views/wiki/pages/update.js.coffee
tawork-0.0.6 app/views/wiki/pages/update.js.coffee