Skip to content

Commit

Permalink
Add missing option for ajax call in settings/configuration/databases.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpovolny committed Nov 25, 2015
1 parent a47a0c6 commit 0da543c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/controllers/ops_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -702,8 +702,9 @@ def extra_js_commands(presenter)
presenter[:extra_js] << "miqOneTrans = 0;" # resetting miqOneTrans when tab loads
presenter[:extra_js] << "if ($('#server_company').length) $('#server_company').focus();"
presenter[:ajax_action] = {
:action => @ajax_action,
:record_id => @record.id
:controller => controller_name,
:action => @ajax_action,
:record_id => @record.id
} if @ajax_action
end

Expand Down

0 comments on commit 0da543c

Please sign in to comment.