Skip to content

Commit

Permalink
Item12644: don't mix HTTP and HTTPS assets
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/GoogleMapsPlugin@17067 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
MichaelDaum authored and MichaelDaum committed Nov 7, 2013
1 parent 57b95a9 commit 6d2202f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions data/System/GoogleMapsPlugin.txt
Expand Up @@ -205,6 +205,7 @@ See
| License: | [[http://www.gnu.org/licenses/gpl.html][GPL (Gnu General Public License)]] |
| Version: | %$VERSION% |
| Change History: | <!-- versions below in reverse order -->&nbsp; |
| 07 Nov 2013: | fixed issue mixing HTTP and HTTPS assets |
| 06 May 2013: | implement multiple markers, all having a click event to open an infowindow |
| 08 Feb 2013: | initial release |
| Dependencies: | %$DEPENDENCIES% |
Expand Down
4 changes: 2 additions & 2 deletions lib/Foswiki/Plugins/GoogleMapsPlugin.pm
Expand Up @@ -21,8 +21,8 @@ use warnings;
use Foswiki::Func ();
use Foswiki::Plugins::JQueryPlugin ();

our $VERSION = '2.00';
our $RELEASE = '2.00';
our $VERSION = '2.01';
our $RELEASE = '2.01';
our $SHORTDESCRIPTION = 'Google Maps for Foswiki';
our $NO_PREFS_IN_TOPIC = 1;
our $core;
Expand Down
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/GoogleMapsPlugin/Core.pm
Expand Up @@ -54,7 +54,7 @@ sub init {
my $language = $session->i18n->language();

Foswiki::Func::addToZone('script', "GOOGLEMAPSAPI", <<"HERE");
<script src="http://maps.googleapis.com/maps/api/js?sensor=false&language=$language" type="text/javascript"></script>
<script src="//maps.googleapis.com/maps/api/js?sensor=false&language=$language" type="text/javascript"></script>
HERE

}
Expand Down

0 comments on commit 6d2202f

Please sign in to comment.