[Mapbender-commits] r1102 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Feb 8 10:26:18 EST 2007


Author: christoph
Date: 2007-02-08 10:26:04 -0500 (Thu, 08 Feb 2007)
New Revision: 1102

Added:
   trunk/mapbender/http/javascripts/mb_ajaxWrapper_jQuery.js
Log:
restored, not deprecated

Added: trunk/mapbender/http/javascripts/mb_ajaxWrapper_jQuery.js
===================================================================
--- trunk/mapbender/http/javascripts/mb_ajaxWrapper_jQuery.js	                        (rev 0)
+++ trunk/mapbender/http/javascripts/mb_ajaxWrapper_jQuery.js	2007-02-08 15:26:04 UTC (rev 1102)
@@ -0,0 +1,28 @@
+<?php
+# $Id: map.php 736 2006-08-03 12:40:12Z christoph $
+# http://www.mapbender.org/index.php/mb_ajaxWrapper_jQuery.js
+# Copyright (C) 2002 CCGIS
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+?>
+
+function mb_ajaxWrap_get(url, param, callback) {
+//	window.frames['ajax'].$.ajaxSetup({async:false}); //TODO: find out why async doesn't work sometimes
+	window.frames['ajax'].$.get(url, param, callback);
+}
+function mb_ajaxWrap_post(url, param, callback) {
+//	window.frames['ajax'].$.ajaxSetup({async:false}); //TODO: find out why async doesn't work sometimes
+	window.frames['ajax'].$.post(url, param, callback);
+}
\ No newline at end of file



More information about the Mapbender_commits mailing list