You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by mp...@apache.org on 2011/06/30 18:59:32 UTC

svn commit: r1141620 - in /incubator/rave/trunk/rave-portal/src/main/webapp/script: rave.js rave_api.js

Author: mpierce
Date: Thu Jun 30 16:59:32 2011
New Revision: 1141620

URL: http://svn.apache.org/viewvc?rev=1141620&view=rev
Log:
(RAVE-88) Removing console.logging to fix bug in reported versions of FireFox and IE.

Modified:
    incubator/rave/trunk/rave-portal/src/main/webapp/script/rave.js
    incubator/rave/trunk/rave-portal/src/main/webapp/script/rave_api.js

Modified: incubator/rave/trunk/rave-portal/src/main/webapp/script/rave.js
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal/src/main/webapp/script/rave.js?rev=1141620&r1=1141619&r2=1141620&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal/src/main/webapp/script/rave.js (original)
+++ incubator/rave/trunk/rave-portal/src/main/webapp/script/rave.js Thu Jun 30 16:59:32 2011
@@ -113,7 +113,6 @@ var rave = rave || (function() {
 		  }
 		  function maximizeAction(button,args) {
 				alert("Maximize button not yet implemented");
-				console.log("RegionWidgetId, RegionId, and PageId:"+args.myRegionWidgetId+" "+args.myRegionId+" "+args.myPageId);
 		  };
 		  function deleteAction(button,args) {
 				rave.api.rpc.removeWidget({
@@ -207,7 +206,6 @@ var rave = rave || (function() {
       * @param widgetId: id of the widget. (not DOM id)
       */
 	 function getGadgetRegion(widgetId) {
-		  console.log("Gadget id and region id: "+widgetId+" "+widgetRegionMap[widgetId])
          return widgetRegionMap[widgetId];
      }
 

Modified: incubator/rave/trunk/rave-portal/src/main/webapp/script/rave_api.js
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal/src/main/webapp/script/rave_api.js?rev=1141620&r1=1141619&r2=1141620&view=diff
==============================================================================
--- incubator/rave/trunk/rave-portal/src/main/webapp/script/rave_api.js (original)
+++ incubator/rave/trunk/rave-portal/src/main/webapp/script/rave_api.js Thu Jun 30 16:59:32 2011
@@ -46,7 +46,6 @@ rave.api = rave.api || (function() {
                         }
                     }
             ).error(handleError);
-            console.log("moveWidgetOnPage parameters: WidgetID: "+widgetObjectId+" "+"toRegion: "+toRegionObjectId+" "+"fromRegion: "+fromRegionObjectId);
         }
 
         function addWidgetToPage(args) {
@@ -105,7 +104,7 @@ rave.api = rave.api || (function() {
                             " but the server encountered an internal error.");
                     break;
             }
-            console.log(rpcResult.errorMessage);
+//            console.log(rpcResult.errorMessage);
         }
 
         return {