Skip to content

Commit

Permalink
Can not add position on map using the mouse
Browse files Browse the repository at this point in the history
Fixes issue#37
  • Loading branch information
jeroenrnl committed Jan 19, 2013
1 parent 0796029 commit 2332246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/place.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
if($marker instanceof marker) {
$map->addMarker($marker);
}
if($_action == "edit") {
if($_action == "edit" || $_action == "new") {
$map->setEditable();
}
echo $map;
Expand Down

1 comment on commit 2332246

@jeroenrnl
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes #37

Please sign in to comment.