Skip to content
Snippets Groups Projects
Commit 707abfb7 authored by Prasad's avatar Prasad
Browse files

User preference save throws error ajax-edit

parent d0e8fc15
No related branches found
No related tags found
1 merge request!311Language italian translation
...@@ -10,7 +10,11 @@ ...@@ -10,7 +10,11 @@
{* START YOUR IMPLEMENTATION FROM BELOW. Use {debug} for information *} {* START YOUR IMPLEMENTATION FROM BELOW. Use {debug} for information *}
{strip} {strip}
<form id="detailView" data-name-fields='{ZEND_JSON::encode($MODULE_MODEL->getNameFields())}' method="POST"> {assign var=NAME_FIELDS value=array('first_name', 'last_name')}
{if $MODULE_MODEL}
{assign var=NAME_FIELDS value=$MODULE_MODEL->getNameFields()}
{/if}
<form id="detailView" data-name-fields='{ZEND_JSON::encode($NAME_FIELDS)}' method="POST">
{include file='DetailViewBlockView.tpl'|@vtemplate_path:$MODULE_NAME RECORD_STRUCTURE=$RECORD_STRUCTURE MODULE_NAME=$MODULE_NAME} {include file='DetailViewBlockView.tpl'|@vtemplate_path:$MODULE_NAME RECORD_STRUCTURE=$RECORD_STRUCTURE MODULE_NAME=$MODULE_NAME}
</form> </form>
{/strip} {/strip}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment