Sha256: 15c29e62410628f8362b6ad09e4ebcb8907c401a630914a5e6185a586f9152d9
Contents?: true
Size: 937 Bytes
Versions: 1
Compression:
Stored size: 937 Bytes
Contents
module Netzke module Basepack class GridPanel < Netzke::Base class RecordFormWindow < Window js_properties :button_align => "right" config :modal => true, :width => "50%", :auto_height => true, :fbar => [:ok.action, :cancel.action] action :ok, :text => 'OK' action :cancel js_method :init_component, <<-JS function(params){ #{js_full_class_name}.superclass.initComponent.call(this); this.getNetzkeComponent().on("submitsuccess", function(){this.closeRes = "ok"; this.close();}, this); } JS js_method :on_ok, <<-JS function(params){ this.getNetzkeComponent().onApply(); } JS js_method :on_cancel, <<-JS function(params){ this.close(); } JS end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
netzke-basepack-0.6.0 | app/components/netzke/basepack/grid_panel/record_form_window.rb |