Attract: class name fixes
To work with Bootstrap 4
This commit is contained in:
@@ -277,7 +277,7 @@ function attract_form_save(form_id, item_id, item_save_url, options)
|
||||
// jQuery sends the response data (if JSON), or an XHR object (if not JSON).
|
||||
if (console) console.log('Failed saving', options.type, xhr_or_response_data);
|
||||
|
||||
$button.removeClass('btn-default').addClass('btn-danger');
|
||||
$button.removeClass('btn-outline-success').addClass('btn-danger');
|
||||
|
||||
statusBarSet('error', 'Failed saving. ' + xhr_or_response_data.status, 'pi-warning');
|
||||
|
||||
|
Reference in New Issue
Block a user