Skip to content
Snippets Groups Projects
Commit 440229e6 authored by jaapjansma's avatar jaapjansma
Browse files

Merge branch 'master' of lab.civicrm.org:extensions/dataprocessor

parents c0d73dcf 30ba8e56
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@
$(document).on('change','#type_configuration select.crm-form-select',function () {
{/literal}{if $action eq 1}{literal}
var titlepreset = $.trim($('#type_configuration select.crm-form-select option:selected').text().split("::").pop());
var titlepreset = $.trim($('#type_configuration select.crm-form-select option:selected').first().text().split("::").pop());
$('#title').val(titlepreset).trigger('blur');
{/literal}{/if}{literal};
});
......
......@@ -28,7 +28,7 @@
{if ($configuration_template)}
{include file=$configuration_template}
{/if}
</div>
</div>
<div class="crm-section">
<div class="label">{$form.title.label}</div>
<div class="content">
......@@ -63,7 +63,7 @@
$(document).on('change','#type_configuration select.crm-form-select',function () {
{/literal}{if $action eq 1}{literal}
var titlepreset = $.trim($('#type_configuration select.crm-form-select option:selected').text().split("::").pop());
var titlepreset = $.trim($('#type_configuration select.crm-form-select option:selected').first().text().split("::").pop());
$('#title').val(titlepreset).trigger('blur');
{/literal}{/if}{literal};
});
......
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