[geodatastore commit] r17 - trunk/js

2 views
Skip to first unread message

codesite...@google.com

unread,
Jul 10, 2008, 8:12:02 PM7/10/08
to geodat...@googlegroups.com
Author: mano.marks
Date: Thu Jul 10 17:08:34 2008
New Revision: 17

Modified:
trunk/js/admin.js

Log:
Dealing with now escaped content in the JSON output from the datastore.


Modified: trunk/js/admin.js
==============================================================================
--- trunk/js/admin.js (original)
+++ trunk/js/admin.js Thu Jul 10 17:08:34 2008
@@ -465,6 +465,9 @@

geoserver.adminPanel.prototype.createGeometry_ = function(data,
is_editable) {
var me = this;
+ data.name = unescape(data.name);
+ data.description = unescape(data.description);
+
if (data.type == 'point') {
var geometry = new GMarker(new GLatLng(data.coordinates[0].lat,
data.coordinates[0].lng), {draggable: true, icon: me.icons_.unchanged});
} else if (data.type == 'line' || data.type == 'poly') {

Reply all
Reply to author
Forward
0 new messages