Fix chash errors of ajax requests for good
This commit is contained in:
@@ -78,6 +78,9 @@ class AjaxViewHelper extends ActionViewHelper
|
||||
// Force absolute urls
|
||||
$arguments['absolute'] = true;
|
||||
|
||||
// Disable cache hash
|
||||
$arguments['noCacheHash'] = true;
|
||||
|
||||
return parent::renderStatic($arguments, $renderChildrenClosure, $renderingContext);
|
||||
}
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ ajax_page_json {
|
||||
1 = processForm
|
||||
}
|
||||
}
|
||||
features.requireCHashArgumentForActionArguments = 0
|
||||
settings =< plugin.tx_eptheme.settings
|
||||
persistence =< plugin.tx_eptheme.persistence
|
||||
view =< plugin.tx_eptheme.view
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<div class="form">
|
||||
<f:form id="contactform" object="{contactForm}" name="contactForm"
|
||||
action="processForm" controller="AjaxForm" pluginName="Ajax" pageType="1803"
|
||||
class="border" additionalAttributes="{v-show: '!success'}">
|
||||
noCacheHash="1" class="border" additionalAttributes="{v-show: '!success'}">
|
||||
<f:form.hidden property="pageUrl"/>
|
||||
<div class="form-group" :class="{ 'has-error': formErrors.name }">
|
||||
<label for="name" class="control-label">Name*</label>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
<div class="form">
|
||||
<f:form id="contactform" object="{contactForm}" name="contactForm"
|
||||
action="processForm" controller="AjaxForm" pluginName="Ajax" pageType="1803"
|
||||
class="border" additionalAttributes="{v-show: '!success'}">
|
||||
noCacheHash="1" class="border" additionalAttributes="{v-show: '!success'}">
|
||||
<f:form.hidden property="pageUrl"/>
|
||||
<div class="form-group" :class="{ 'has-error': formErrors.name }">
|
||||
<label for="name" class="control-label">Name</label>
|
||||
|
||||
Reference in New Issue
Block a user