gabe283/concerto_places — pull request #6 by mfrederickson (2013-08-07 19:58:18+00:00)
Title: Tweaks

application.css - made consistent with other plugins by moving styles to plugin named css and using typical contents for application.css

places.css.scss made sass-able so I could use c style commenting (and bring-in all the power of sass). Also removed the margin that offset the "select your places" so it would line up better on the left, and changed the style for the "list places" button to have a left margin of 1em instead of a fixed number of pixels.

place.js - added initialize function to wire up the remapping when the location or radius changes.

_form_top.html.erb - changed the "List Places" div to a link_to_function button so it's wired up automatically.

There's still a problem with the google js not loading before some of the stuff fires, and the map lagging behind the actual location specified (goes to actual location after you tab out of radius or click the list button, though). I'll look into those later...