You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

45 lines
1.3 KiB

{if $force_fill_action eq 'avatar'}
{jq}
$.openModal({
remote: $.service(
'user',
'upload_avatar',
{ user: "{{$user}}" }
)
});
{/jq}
{elseif $force_fill_action eq 'new'}
{jq}
$.openModal({
remote: $.service(
'tracker',
'insert_item',
{
trackerId: {{$force_fill_tracker}},
editable: {{$force_fill_fields}},
forced: {"{{$force_fill_user_field_permname}}":"{{$user}}"},
status:"",
title:"Please fill in the following information",
suppressFeedback: true
}
)
});
{/jq}
{elseif $force_fill_action eq 'update'}
{jq}
$.openModal({
remote: $.service(
'tracker',
'update_item',
{
trackerId: {{$force_fill_tracker}},
itemId: {{$force_fill_item.itemId}},
editable: {{$force_fill_fields}},
status:"",
title:"Please fill in the following information",
suppressFeedback: true
}
)
});
{/jq}
{/if}