You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by ps...@apache.org on 2012/10/19 13:26:17 UTC

svn commit: r1400043 - /rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave.js

Author: psharples
Date: Fri Oct 19 11:26:17 2012
New Revision: 1400043

URL: http://svn.apache.org/viewvc?rev=1400043&view=rev
Log:
bug fix - changed "undefined"  to undefined js keyword.

Modified:
    rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave.js

Modified: rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave.js
URL: http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave.js?rev=1400043&r1=1400042&r2=1400043&view=diff
==============================================================================
--- rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave.js (original)
+++ rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave.js Fri Oct 19 11:26:17 2012
@@ -1010,7 +1010,7 @@ var rave = rave || (function () {
         var placeholder = document.createElement("div");
         $(placeholder).load(rave.getContext()+"api/rest/regionwidget/"+regionWidgetId, function(){
             var region = null;
-            if(regionId != "undefined"){
+            if(regionId != undefined){
                 // get specified region
                 region = $("#region-"+regionId+"-id");
             }