Commit 2cd31b18 authored by Alexander Bukach's avatar Alexander Bukach Committed by Damien McKenna
Browse files

Issue #2354809 by Alex Bukach, DamienMcKenna, ofry, joelpittet, antims, Miguel...

Issue #2354809 by Alex Bukach, DamienMcKenna, ofry, joelpittet, antims, Miguel Andrade, Darren Oh, GuyPaddock: Views cache HTML breaks some forms.
parent 144206ca
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1195,6 +1195,9 @@ class view extends views_db_object {
    if (!empty($this->live_preview)) {
      $cache = FALSE;
    }
    elseif (views_view_has_form_elements($this) && isset($_POST['form_id']) && $_POST['form_id'] == views_form_id($this)) {
      $cache = FALSE;
    }
    else {
      $cache = $this->display_handler->get_plugin('cache');
    }
@@ -1263,6 +1266,9 @@ class view extends views_db_object {
    if (!empty($this->live_preview)) {
      $cache = FALSE;
    }
    elseif (views_view_has_form_elements($this) && isset($_POST['form_id']) && $_POST['form_id'] == views_form_id($this)) {
      $cache = FALSE;
    }
    else {
      $cache = $this->display_handler->get_plugin('cache');
    }