Skip to content
This repository has been archived by the owner on Jun 16, 2022. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/2.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Rochester committed Aug 12, 2014
2 parents d7f5733 + afb3461 commit 3e86830
Show file tree
Hide file tree
Showing 8 changed files with 145 additions and 127 deletions.
Binary file modified features/data/db-dump.sql.gz
Binary file not shown.
12 changes: 7 additions & 5 deletions lib/NeatlineFeatures/Utils/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -605,11 +605,13 @@ private function _getHtmlView($isHtml, $isMap, $mode)

if (is_null($post)) {
$feature = $this->getNeatlineFeature();
$geo = $feature->geo;
$zoom = $feature->zoom;
$center_lon = $feature->center_lon;
$center_lat = $feature->center_lat;
$base_layer = $feature->base_layer;
if (!is_null($feature)) {
$geo = $feature->geo;
$zoom = $feature->zoom;
$center_lon = $feature->center_lon;
$center_lat = $feature->center_lat;
$base_layer = $feature->base_layer;
}
} else {
$i = $this->getIndex();
$p = array_key_exists($i, $post) ? $post[$i] : array();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "neatlinefeatures",
"version" : "2.0.4",
"version" : "2.0.5",
"dependencies" : {
"inireader" : "~0.2.4",
"iniparser" : "~1.0.5",
Expand Down
2 changes: 1 addition & 1 deletion plugin.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ author="Scholars' Lab"
description="Allows administrators to draw things on maps and associate them with an Omeka item."
link="https://github.com/scholarslab/NeatlineFeatures"
support_link="https://github.com/scholarslab/NeatlineFeatures/issues"
version="2.0.4"
version="2.0.5"
tags="geospatial"
omeka_minimum_version="2.0"
omeka_tested_up_to="2.0"
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.0.4
2.0.5
126 changes: 67 additions & 59 deletions views/shared/javascripts/featureswidget.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading

0 comments on commit 3e86830

Please sign in to comment.