Skip to content
Snippets Groups Projects
Commit 4a60bed6 authored by Prasad's avatar Prasad
Browse files

Fixed typo of variable name and value handling

parent 25191983
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ Reports_Edit_Js("Reports_Edit2_Js",{},{
*/
getSelectedFields : function() {
if(this.selectedFields == false) {
this.selectedFields = jQuery('#seleted_fields');
this.selectedFields = jQuery('#selected_fields');
}
return this.selectedFields;
},
......
......@@ -23,7 +23,7 @@
<input type="hidden" name="description" value="{$REPORT_MODEL->get('description')}" />
<input type="hidden" name="primary_module" value="{$PRIMARY_MODULE}" />
<input type="hidden" name="secondary_modules" value={ZEND_JSON::encode($SECONDARY_MODULES)} />
<input type="hidden" name="selected_fields" id="selected_fields" value='{if isset($SELECTED_FIELDS)}{ZEND_JSON::encode($SELECTED_FIELDS)}{/if}' />
<input type="hidden" name="selected_fields" id="selected_fields" value='{if isset($SELECTED_FIELDS)}{ZEND_JSON::encode($SELECTED_FIELDS)}{else}false{/if}' />
<input type="hidden" name="selected_sort_fields" id="selected_sort_fields" value="" />
<input type="hidden" name="calculation_fields" id="calculation_fields" value="" />
<input type="hidden" name="isDuplicate" value="{$IS_DUPLICATE}" />
......@@ -138,4 +138,4 @@
</div>
<br><br>
</form>
{/strip}
\ No newline at end of file
{/strip}
......@@ -22,7 +22,7 @@
<input type="hidden" name="reports_description" value="{Vtiger_Util_Helper::toSafeHTML($REPORT_MODEL->get('description'))}" />
<input type="hidden" name="primary_module" value="{$PRIMARY_MODULE}" />
<input type="hidden" name="secondary_modules" value={ZEND_JSON::encode($SECONDARY_MODULES)} />
<input type="hidden" name="selected_fields" id="seleted_fields" value='{Vtiger_Util_Helper::toSafeHTML($REPORT_MODEL->get('selected_fields'))}' />
<input type="hidden" name="selected_fields" id="selected_fields" value='{Vtiger_Util_Helper::toSafeHTML($REPORT_MODEL->get('selected_fields'))}' />
<input type="hidden" name="selected_sort_fields" id="selected_sort_fields" value={Vtiger_Util_Helper::toSafeHTML($REPORT_MODEL->get('selected_sort_fields'))} />
<input type="hidden" name="selected_calculation_fields" id="calculation_fields" value={Vtiger_Util_Helper::toSafeHTML($REPORT_MODEL->get('calculation_fields'))} />
<input type="hidden" name="advanced_filter" id="advanced_filter" value="" />
......
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