app/assets/javascripts/ab_admin/components/gmaps.js.coffee in ab_admin-0.6.1 vs app/assets/javascripts/ab_admin/components/gmaps.js.coffee in ab_admin-0.7.0
- old
+ new
@@ -83,10 +83,10 @@
initMarker: ->
marker_defaults =
position: @point,
map: @map,
- draggable: true
+ draggable: !@options.disabled
@options.marker_options ||= {}
_.defaults(@options.marker_options, marker_defaults)
@marker = new google.maps.Marker(@options.marker_options)