Sha256: 811be81bd55a0b1e5e34de8383aecaa1261fd52f022ed916df4edde514d5cd40
Contents?: true
Size: 586 Bytes
Versions: 3
Compression:
Stored size: 586 Bytes
Contents
class ServerCaller < Netzke::Base title "Server Caller!" action :bug_server # Actual action's text is set in en.yml js_properties( :title => "Server Caller", :html => "Wow", :tbar => [:bug_server.action] # NOTE: used to be bbar, but Ext >= 4.0.2 has problems with rendering it! ) 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