Sha256: 4a4e8b5113d8b909941040757378a179e5dcd25ceb6a7fb7250e5bac5f5f2a99
Contents?: true
Size: 475 Bytes
Versions: 3
Compression:
Stored size: 475 Bytes
Contents
class ServerCaller < Netzke::Base action :bug_server, :text => "Call server" js_properties( :title => "Server Caller", :html => "Wow", :bbar => [:bug_server.action] ) js_method :on_bug_server, <<-JS function(){ this.whatsUp(); this.update('You should see the response from the server in the title bar the very next moment'); } JS endpoint :whats_up do |params| {:set_title => "All quiet here on the server"} end end
Version data entries
3 entries across 3 versions & 1 rubygems