Sha256: 085813a3bce295b668f67781b8e403bd8ef1d3507fe591ae63ddf28422f2d176

Contents?: true

Size: 379 Bytes

Versions: 25

Compression:

Stored size: 379 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()
  $(".cancel").hide()
  $(".edit").show()
  tinyMCE.remove('div');
<% end %>

Version data entries

25 entries across 25 versions & 1 rubygems

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