? webfm-178656-1.patch
Index: js/webfm.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webfm/js/webfm.js,v
retrieving revision 1.32
diff -u -p -r1.32 webfm.js
--- js/webfm.js	17 Sep 2009 23:30:48 -0000	1.32
+++ js/webfm.js	18 Feb 2010 20:38:09 -0000
@@ -3731,13 +3731,13 @@ Webfm.HTTPPost = function(uri, callbackF
   if (bAsync) {
     xmlHttp.onreadystatechange = function() {
       if (xmlHttp.readyState == 4) {
-        callbackFunction(xmlHttp.responseText, xmlHttp, callbackParameter);
+        callbackFunction(Webfm.trim(xmlHttp.responseText), xmlHttp, callbackParameter);
       }
     }
     return xmlHttp;
   }
   else {
-    return xmlHttp.responseText;
+    return Webfm.trim(xmlHttp.responseText);
   }
 }
 
