Fixed JS issue caused when editing a field which has no field options.

An ajax loading gif is added but never removed. Now fixed

Signed-off-by: Elliot Condon <e@elliotcondon.com>