search for: get_parent_id

Displaying 3 results from an estimated 3 matches for "get_parent_id".

Did you mean: get_parent_ip
2009 May 22
1
[PATCH server] fixed smart pool 'save' regression.
...7 @@ class PoolController < ApplicationController # FIXME: REST and browsers send params differently. Should be fixed # in the views alert = svc_create(params[:pool] ? params[:pool] : params[:hardware_pool], - additional_create_params) + get_parent_id, additional_create_params) respond_to do |format| format.json { reply = { :object => "pool", :success => true, @@ -164,6 +164,8 @@ class PoolController < ApplicationController protected def get_parent_id - params[:parent_id] + params[:hardware_p...
2008 Jan 03
0
Wx::Menu, get parent menu functions?
...= Wx::ID_HIGHEST + @@i_highest_counter # @@i_highest_counter = @@i_highest_counter + 1 # return new_id # end #============= end end def get_name() return @name end def get_id() return @id end def get_parent() return @parent_menu end def get_parent_id() return @parent_menu.get_id() end def has_parent() hasparent = false if @parent_menu != nil hasparent = true end return hasparent end end ==================== Thoughts? Ideas? Alternatives? Death Threats? (heehee)
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
...end end diff --git a/src/app/controllers/pool_controller.rb b/src/app/controllers/pool_controller.rb index 5c5949a..1a65718 100644 --- a/src/app/controllers/pool_controller.rb +++ b/src/app/controllers/pool_controller.rb @@ -166,11 +166,4 @@ class PoolController < ApplicationController def get_parent_id params[:parent_id] end - # FIXME: remove these when service transition is complete. these are here - # to keep from running permissions checks and other setup steps twice - def tmp_pre_update - end - def tmp_authorize_admin - end - end diff --git a/src/app/controllers/quota_controlle...