Skip to content
Snippets Groups Projects
Commit 011667e3 authored by madhu sr's avatar madhu sr
Browse files

Fixes: The default selection of download file type field based on user's...

Fixes: The default selection of download file type field based on user's choice to upload either file url or document
parent 98727a14
No related branches found
No related tags found
1 merge request!1035Fixes: The default selection of download file type field based on user's choice to upload either file url or document
......@@ -11,6 +11,7 @@
-->*}
{strip}
{assign var=FIELD_VALUES value=$FIELD_MODEL->getFileLocationType()}
{* The options displayed based on the file location type received on request *}
<select class="select2" name="{$FIELD_MODEL->getFieldName()}" {if $FILE_LOCATION_TYPE eq 'I' OR $FILE_LOCATION_TYPE eq 'E'} disabled {/if}>
{foreach item=TYPE key=KEY from=$FIELD_VALUES}
{if $FILE_LOCATION_TYPE eq 'I'}
......
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