Appeal: Add contacts by tag

I'm just not a huge fan of the object.keys stuff, seems like it'd be confusing a year from now. But it's not really a big thing. I don't know how those objects are being generated, so maybe it would just be a different kind of complicated.

On Fri, Nov 21, 2014 at 9:41 AM, Adam Meyer <notifications@github.com>
wrote:

>>                          });
>>  
>> -                        var contactsObject = [];
>> -                        api.call('get', strContactsUrl, {}, function(data) {
>> -                            if(statusCount > 0){
>> -                                angular.forEach(data.contacts, function(c) {
>> -                                    contactsObject.push(c.id);
>> -                                });
>> -                            }
>> +                        var getContactsByStatus = function(){
>> +                          if(!Object.keys(newAppeal.validStatus).length){
> To keep it operating as it does now, it should be == {}, because if no statuses are selected, I want to skip and go to the next function.  I could convert the object to an array, but I'm not sure if that's less complicated.
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/CruGlobal/mpdx/pull/187/files#r20721449