So I figured I'd create a configuration for my module. I created a normal form with some fields to let the users configure the module with variables. I also added a button which would do an ajax-call to a service. Problem is, this button is within the form, meaning it submits the form aswell.
$form['products']['update'] = array( '#type' => 'button', '#ajax' => array( 'path' => '/products/update', 'event' => 'click' ), '#value' => t('Update Products') );
I just want the button to actually call this service (/products/update) and not act like a submit button. This worked in beta3 but is not an annoying feature in beta4, preventing the actual service call. How do I fix this?