Skip to content

Commit 9739767

Browse files
committed
Fix syntax errors and remove property override which does nothing from geo renderer class.
git-svn-id: https://share-extras.googlecode.com/svn/trunk/Site Geotagged Content Dashlet@1447 a3f5c567-fd0f-3a89-9b71-a290c5a5f590
1 parent 218e3bc commit 9739767

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

source/web/extras/components/documentlibrary/documentlist-geo.js

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ if (typeof Extras == "undefined" || !Extras)
7676
this.metadataBannerViewName = "detailed";
7777
this.metadataLineViewName = "detailed";
7878
this.thumbnailColumnWidth = 200;
79-
this.rowClassName = "alf-detail";
8079

8180
var me = this;
8281

@@ -488,7 +487,12 @@ if (typeof Extras == "undefined" || !Extras)
488487
Extras.DocumentListGeoViewRenderer.onGMapsScriptLoad = function DL_GVR_onGMapsScriptLoad(e)
489488
{
490489
YAHOO.Bubbling.fire("gmapsScriptLoaded");
491-
}
490+
};
491+
492+
Extras.DocumentListLeafletGeoViewRenderer = function DocumentListLeafletGeoViewRenderer_constructor(name)
493+
{
494+
Extras.DocumentListLeafletGeoViewRenderer.superclass.constructor.call(this, name);
495+
};
492496

493497
YAHOO.extend(Extras.DocumentListLeafletGeoViewRenderer, Extras.DocumentListGeoViewRenderer,
494498
{
@@ -532,7 +536,7 @@ if (typeof Extras == "undefined" || !Extras)
532536
}
533537
},
534538

535-
_saveMapPreferences = function DL_LGVR__saveMapPreferences(scope)
539+
_saveMapPreferences: function DL_LGVR__saveMapPreferences(scope)
536540
{
537541
// save map position and zoom levels
538542
// when zooming leaflet fires both events, which leads to an exception being thrown from the repo

0 commit comments

Comments
 (0)