the it's laid out is fine. it's not super high priority. we can always
refractor stuff later.


On Sun, Feb 16, 2014 at 4:15 PM, Nathan Lucyk <notifications@github.com>wrote:

> In interactomeWeb/app/scripts/controllers/main.js:
>
> >                  });
> > -        }
> > +        };
> > +
> > +        // Determines what happens after one or more abstract is selected
> > +        $scope.abstractsRec = function()
> > +        {
> > +            var abstractsChecked = ''
> > +            var absCount = 0;
> > +            $("input:checked").each(function() {
> > +                abstractsChecked += $(this).val() + ",";
> > +                $(this).click(); // uncheck it
> > +                absCount++;
> > +            });
> > +            if (abstractsChecked != '') {
> > +                abstractsChecked =  abstractsChecked.slice(0,-1)// Remove last comma
>
> Thanks! Yea, I was actually thinking of doing something similar to
> AwsService.s3Broadcast. But having a constant for each topic. Then the
> function call would look like
> AwsService.postMessageToSNS(AwsService.reqTopic, abstractsChecked);
> I don't want to split the SNS to it's own service because the AWS service
> should cover all of aws. But what do you think of this approach?
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/Sage-Bionetworks/Interactome/pull/23/files#r9780010>
> .
>