Skip to content
Snippets Groups Projects
Commit 16580965 authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #803 from pratik-joshi/CRM-11310

fix for CRM-11310 : applied patch
parents 64071bf8 e26be6fb
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@
{ts}Complete OR partial creator name.{/ts}
</span>
</td>
<td>
<td id="group_type-block">
{$form.group_type.label}<br />
{$form.group_type.html}<br />
<span class="description font-italic">
......@@ -157,17 +157,16 @@ function buildGroupSelector( filterSearch ) {
);
if ( filterSearch ) {
var groupTypes = '';
if ( cj('.crm-group-search-form-block #group_type_1').prop('checked') ) {
groupTypes = '1';
}
if ( cj('.crm-group-search-form-block #group_type_2').prop('checked') ) {
if ( groupTypes ) {
groupTypes = groupTypes + ',2';
} else {
groupTypes = groupTypes + '2';
}
cj('#group_type-block input').each(function(index) {
if (cj(this).prop('checked')) {
if (groupTypes) {
groupTypes = groupTypes + ',' + cj(this).attr('id').substr(11);
}
else {
groupTypes = cj(this).attr('id').substr(11);
}
}
});
var groupStatus = '';
if ( cj('.crm-group-search-form-block #group_status_1').prop('checked') ) {
......
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