[Mapbender-commits] r1895 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Dec 6 07:21:39 EST 2007
Author: verenadiewald
Date: 2007-12-06 07:21:39 -0500 (Thu, 06 Dec 2007)
New Revision: 1895
Modified:
trunk/mapbender/http/javascripts/mod_wfs_client.html
Log:
json included in jquery instead of separate inclusion
Modified: trunk/mapbender/http/javascripts/mod_wfs_client.html
===================================================================
--- trunk/mapbender/http/javascripts/mod_wfs_client.html 2007-12-06 12:19:19 UTC (rev 1894)
+++ trunk/mapbender/http/javascripts/mod_wfs_client.html 2007-12-06 12:21:39 UTC (rev 1895)
@@ -4,7 +4,6 @@
<link rel="stylesheet" type="text/css" media="screen,projection" href="../css/admin.screen.css" title="screen" />
-<script src='../extensions/json.js'></script>
<script type='text/javascript'>
@@ -187,8 +186,8 @@
*/
function getData(obj){
setIndicator();
- var obj2json = obj.toJSONString();
- parent.mb_ajax_post("../php/mod_wfs_server.php",{"obj":obj2json}, function (json,status){
+ var obj2json = parent.$.toJSON(obj);
+ parent.$.post("../php/mod_wfs_server.php",{"obj":obj2json}, function (json,status){
if(status == 'success'){
var dsJson = eval('(' + json + ')');
switch(obj['action']){
More information about the Mapbender_commits
mailing list