app/controllers/configuration_controller.rb
# AJAX driven routine to check for changes in ANY field on the form
AJAX driven routine to check for changes in ANY field on the form
AJAX driven routine to check for changes in ANY field on the form
def form_field_changed
    return unless load_edit("config_edit__ui1", "configuration")
    get_form_vars
    @assigned_filters = []
    @changed = (@edit[:new] != @edit[:current])
    render :update do |page|                    
      page.replace(@refresh_div, :partial => @refresh_partial) if @refresh_div
      page << javascript_for_miq_button_visibility_changed(@changed)
    end
  end
def form_field_changed return unless load_edit ( "config_edit__ui1" , "configuration" ) get_form_vars @assigned_filters = [ ] @changed = ( @edit [ :new ] != @edit [ :current ] ) render :update do | page | page . replace ( @refresh_div , :partial => @refresh_partial ) if @refresh_div page << javascript_for_miq_button_visibility_changed ( @changed ) end end
AJAX driven routine to check for changes in ANY field on the form
AJAX driven routine to check for changes in ANY field on the form
# ui1 edit form # Use JS to update the display