Prevent inline order setting vs. admin form submission race condition

If the js that sets the order of inlines on an admin page runs slow for any reason the admin form can submit before the order has been set.

This can be simulated by setting a breakpoint inside the current version of the modified click function and clicking save. Although the debugger will hit the breakpoint the page will almost immediately reload since the form continues submitting and the order will not be set.  Setting a breakpoint inside the modified version will work since the default is prevented and the form isn't resubmitted until after ordering has been set.

 An alternative method of fixing this would be to have the order update when inline fields are moved.