done and pushed

From: Jonathan Johnson <notifications@github.com<mailto:notifications@github.com>>
Reply-To: Jazzee/Jazzee <reply@reply.github.com<mailto:reply@reply.github.com>>
Date: Monday, September 23, 2013 9:56 AM
To: Jazzee/Jazzee <Jazzee@noreply.github.com<mailto:Jazzee@noreply.github.com>>
Cc: larry roberts <lawrence.roberts@ucsf.edu<mailto:lawrence.roberts@ucsf.edu>>
Subject: Re: [Jazzee] added tag choosing to the grid (#245)


In src/scripts/classes/DisplayManager.class.js:

> +       hasItems = true;
> +      var li = $('<li>').addClass('item').html(this.title).data('element', this);
> +      if(self.display.displayElement(this)){
> +        li.addClass('selected');
> +        li.bind('click', function(){
> +          var element = $(this).data('element');
> +          self.display.removeElement(element);
> +          list.replaceWith(self.tagBox(tagList, maximumDisplay));
> +          self.drawChosen();
> +        });
> +      } else {
> +        li.bind('click', function(){
> +          var element = $(this).data('element');
> +          element.weight = self.nextWeight();
> +          self.display.addElement(element);
> +          list.replaceWith(self.tagBox(tagList, maximumDisplay));


Remove tag list parameter from function call it no longer exists.

—
Reply to this email directly or view it on GitHub<https://github.com/Jazzee/Jazzee/pull/245/files#r6520230>.