Fix chash errors of ajax requests for good
This commit is contained in:
@@ -24,6 +24,7 @@ ajax_page_json {
|
|||||||
2 = processConfiguratorForm
|
2 = processConfiguratorForm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
features.requireCHashArgumentForActionArguments = 0
|
||||||
settings =< plugin.tx_epevents.settings
|
settings =< plugin.tx_epevents.settings
|
||||||
persistence =< plugin.tx_epevents.persistence
|
persistence =< plugin.tx_epevents.persistence
|
||||||
view =< plugin.tx_epevents.view
|
view =< plugin.tx_epevents.view
|
||||||
|
|||||||
@@ -57,7 +57,8 @@
|
|||||||
:options-period='{configuratorConfig.periodOptions -> v:format.json.encode()}'
|
:options-period='{configuratorConfig.periodOptions -> v:format.json.encode()}'
|
||||||
inline-template>
|
inline-template>
|
||||||
<f:form id="configuratorform" object="{inquiry}" name="inquiry" action="processConfiguratorForm"
|
<f:form id="configuratorform" object="{inquiry}" name="inquiry" action="processConfiguratorForm"
|
||||||
controller="AjaxForm" pluginName="Ajax" pageType="1703" pageUid="{settings.ajaxPageUid}">
|
controller="AjaxForm" pluginName="Ajax" pageType="1703" pageUid="{settings.ajaxPageUid}"
|
||||||
|
noCacheHash="1">
|
||||||
<f:form.hidden property="travelType" additionalAttributes="{v-model: 'formData.type'}"/>
|
<f:form.hidden property="travelType" additionalAttributes="{v-model: 'formData.type'}"/>
|
||||||
<f:form.hidden property="hotelType" additionalAttributes="{v-model: 'formData.accommodation'}"/>
|
<f:form.hidden property="hotelType" additionalAttributes="{v-model: 'formData.accommodation'}"/>
|
||||||
<f:form.hidden property="locationType" additionalAttributes="{v-model: 'formData.destination'}"/>
|
<f:form.hidden property="locationType" additionalAttributes="{v-model: 'formData.destination'}"/>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<div class="form">
|
<div class="form">
|
||||||
<f:form id="inquiryform" object="{inquiry}" name="inquiry" action="processInquiryForm"
|
<f:form id="inquiryform" object="{inquiry}" name="inquiry" action="processInquiryForm"
|
||||||
controller="AjaxForm" pluginName="Ajax" pageType="1703"
|
controller="AjaxForm" pluginName="Ajax" pageType="1703"
|
||||||
pageUid="{settings.ajaxPageUid}">
|
pageUid="{settings.ajaxPageUid}" noCacheHash="1">
|
||||||
<div class="form__item form__item--radios">
|
<div class="form__item form__item--radios">
|
||||||
<div class="form__field form__field--radio">
|
<div class="form__field form__field--radio">
|
||||||
<div class="form__item__inner">
|
<div class="form__item__inner">
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<div class="form form--box">
|
<div class="form form--box">
|
||||||
<f:form id="inquiryform" object="{inquiry}" name="inquiry" action="processInquiryForm"
|
<f:form id="inquiryform" object="{inquiry}" name="inquiry" action="processInquiryForm"
|
||||||
controller="AjaxForm" pluginName="Ajax" pageType="1703"
|
controller="AjaxForm" pluginName="Ajax" pageType="1703"
|
||||||
pageUid="{settings.ajaxPageUid}">
|
pageUid="{settings.ajaxPageUid}" noCacheHash="1">
|
||||||
<f:form.hidden property="travelType"/>
|
<f:form.hidden property="travelType"/>
|
||||||
<f:form.hidden property="inquiryName"/>
|
<f:form.hidden property="inquiryName"/>
|
||||||
<f:form.hidden property="pageUrl"/>
|
<f:form.hidden property="pageUrl"/>
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ tx_epproducts_ajax_json {
|
|||||||
1 = list
|
1 = list
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
features.requireCHashArgumentForActionArguments = 0
|
||||||
settings =< plugin.tx_epproducts.settings
|
settings =< plugin.tx_epproducts.settings
|
||||||
persistence =< plugin.tx_epproducts.persistence
|
persistence =< plugin.tx_epproducts.persistence
|
||||||
view =< plugin.tx_epproducts.view
|
view =< plugin.tx_epproducts.view
|
||||||
|
|||||||
@@ -78,6 +78,9 @@ class AjaxViewHelper extends ActionViewHelper
|
|||||||
// Force absolute urls
|
// Force absolute urls
|
||||||
$arguments['absolute'] = true;
|
$arguments['absolute'] = true;
|
||||||
|
|
||||||
|
// Disable cache hash
|
||||||
|
$arguments['noCacheHash'] = true;
|
||||||
|
|
||||||
return parent::renderStatic($arguments, $renderChildrenClosure, $renderingContext);
|
return parent::renderStatic($arguments, $renderChildrenClosure, $renderingContext);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ ajax_page_json {
|
|||||||
1 = processForm
|
1 = processForm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
features.requireCHashArgumentForActionArguments = 0
|
||||||
settings =< plugin.tx_eptheme.settings
|
settings =< plugin.tx_eptheme.settings
|
||||||
persistence =< plugin.tx_eptheme.persistence
|
persistence =< plugin.tx_eptheme.persistence
|
||||||
view =< plugin.tx_eptheme.view
|
view =< plugin.tx_eptheme.view
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<div class="form">
|
<div class="form">
|
||||||
<f:form id="contactform" object="{contactForm}" name="contactForm"
|
<f:form id="contactform" object="{contactForm}" name="contactForm"
|
||||||
action="processForm" controller="AjaxForm" pluginName="Ajax" pageType="1803"
|
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"/>
|
<f:form.hidden property="pageUrl"/>
|
||||||
<div class="form-group" :class="{ 'has-error': formErrors.name }">
|
<div class="form-group" :class="{ 'has-error': formErrors.name }">
|
||||||
<label for="name" class="control-label">Name*</label>
|
<label for="name" class="control-label">Name*</label>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<div class="form">
|
<div class="form">
|
||||||
<f:form id="contactform" object="{contactForm}" name="contactForm"
|
<f:form id="contactform" object="{contactForm}" name="contactForm"
|
||||||
action="processForm" controller="AjaxForm" pluginName="Ajax" pageType="1803"
|
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"/>
|
<f:form.hidden property="pageUrl"/>
|
||||||
<div class="form-group" :class="{ 'has-error': formErrors.name }">
|
<div class="form-group" :class="{ 'has-error': formErrors.name }">
|
||||||
<label for="name" class="control-label">Name</label>
|
<label for="name" class="control-label">Name</label>
|
||||||
|
|||||||
Reference in New Issue
Block a user