If used on a view with an exposed ajax filter that returns no results, when the filter is changed so that results appear the editablefields don't look as normal and the autosubmit doesn't work.
This is because the editablefields library wasn't included on the initial page load (with no results).
Potential fix:
editablefields.module
/**
* Implements hook_views_pre_render().
*/
function editablefields_views_pre_render(&$view) {
foreach ($view->field as $field) {
if (isset($field->options['type']) && $field->options['type'] == 'editable') {
drupal_add_library('editablefields', 'editablefields');
break;
}
}
}
Comments
Comment #2
aaronbaumanissue persists to latest version
Comment #3
aaronbaumanThis is not limited to ajax-enabled views.
Editable Fields stops working altogether after an exposed filter is submitted.
Comment #4
aaronbaumanClosing as duplicate of #3381413: Ajax 404 Error