You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by kn...@apache.org on 2007/06/28 15:08:10 UTC

svn commit: r551546 - /incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax-debug.js

Author: knopp
Date: Thu Jun 28 06:08:09 2007
New Revision: 551546

URL: http://svn.apache.org/viewvc?view=rev&rev=551546
Log:
Support for logging other things than just strings

Modified:
    incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax-debug.js

Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax-debug.js
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax-debug.js?view=diff&rev=551546&r1=551545&r2=551546
==============================================================================
--- incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax-debug.js (original)
+++ incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/ajax/wicket-ajax-debug.js Thu Jun 28 06:08:09 2007
@@ -1,4 +1,4 @@
-/*
+info/*
  * Licensed to the Apache Software Foundation (ASF) under one or more
  * contributor license agreements.  See the NOTICE file distributed with
  * this work for additional information regarding copyright ownership.
@@ -45,7 +45,8 @@
 		WicketAjaxDebug.init();
         var d = wicketGet(WicketAjaxDebug.debugWindowLogId);
         var c = document.createElement("div");
-		
+
+		msg = "" + msg;		
         msg = msg.replace(/</g, "&lt;");
         msg = msg.replace(/>/g, "&gt;");
         msg = msg.replace(/\n/g, "<br/>");