Skip to content
Permalink
Browse files

Force Form Wrapper for Ajax within tmpl=raw (Temporary Fix)

  • Loading branch information
sebastienheraud committed Oct 14, 2019
1 parent 5acd3a3 commit d62c879782a4a0699e5e82385fd623a0c0673fd3
Showing with 5 additions and 0 deletions.
  1. +5 −0 components/com_cck/views/list/view.html.php
@@ -296,6 +296,11 @@ protected function prepareDisplay( $preconfig )
$this->search = &$search;
$this->tag_desc = $params->get( 'tag_list_desc', 'div' );
$this->total = &$total_items;
// This may be a temporary fix but we need it for now
if ( $this->load_ajax && $app->input->get( 'tmpl' ) == 'raw' ) {
$this->form_wrapper = true;
}
}
}
?>

0 comments on commit d62c879

Please sign in to comment.
You can’t perform that action at this time.