class Object

Constants

E

Public Instance Methods

ef(text) click to toggle source
# File lib/r4/template/app/assets/javascripts/main.js.rb, line 3
def ef text
  Element.find text
end
show_alert(header, text) click to toggle source
# File lib/r4/template/app/assets/javascripts/main.js.rb, line 7
def show_alert header, text
   ef('#alert_header').html = header
   ef('#alert_body').html = text
   ef('#alert_window').show
end