[pod] Bugfix: repeated error in a for loop (https://bugs.launchpad.net/appy/+bug/394267). [gen] pod field: get the value of appy cookie 'showSubTitle' in any pod template.
This commit is contained in:
parent
3dfb90b5b3
commit
1ed4f0bf23
5 changed files with 194 additions and 183 deletions
|
@ -696,6 +696,8 @@ function generatePod(uid, fieldName, template, podFormat, queryData,
|
|||
if (customParams) { f.customParams.value = customParams; }
|
||||
else { f.customParams.value = ''; }
|
||||
if (mailing) f.mailing.value = mailing;
|
||||
// Transmit value of cookie "showSubTitles"
|
||||
f.showSubTitles.value = readCookie('showSubTitles') || 'true';
|
||||
f.action.value = 'generate';
|
||||
f.checkedUids.value = '';
|
||||
f.checkedSem.value = '';
|
||||
|
|
|
@ -144,6 +144,7 @@ class ToolWrapper(AbstractWrapper):
|
|||
<input type="hidden" name="podFormat"/>
|
||||
<input type="hidden" name="queryData"/>
|
||||
<input type="hidden" name="customParams"/>
|
||||
<input type="hidden" name="showSubTitles" value="true"/>
|
||||
<input type="hidden" name="checkedUids"/>
|
||||
<input type="hidden" name="checkedSem"/>
|
||||
<input type="hidden" name="mailing"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue