ManageIQ/manageiq — pull request #1072 by h-kataria (2014-11-17 20:52:27+00:00)
Title: Cleanup in automate method editor.

- Changed code to not focus on method data code mirror textbox. Code mirror partial was set to always put focus on code mirror text box. When adding a new input parameter for a method, controller sends down JS command to focus on parameter name text field which was not working as when replacing the whole screen code mirror field focus was taking over.
- Added code to set a priority as last for newly added input parameters so they are displayed in same order as they were added on screen.

@dclarizio please review/test