Open umpirsky opened 12 years ago
This:
'copy' => $this->getName() . '_' . 'data'
will not work if you do it in embedded form, somehow IDs do not match and javascript $('#{{ attr['data-copy'] }}').attr('value', response.folder+response.file); does not set value.
$('#{{ attr['data-copy'] }}').attr('value', response.folder+response.file);
This:
'copy' => $this->getName() . '_' . 'data'
will not work if you do it in embedded form, somehow IDs do not match and javascript
$('#{{ attr['data-copy'] }}').attr('value', response.folder+response.file);
does not set value.