[richfaces-svn-commits] JBoss Rich Faces SVN: r2450 - in trunk/ui: dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts and 4 other directories.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Thu Aug 23 13:39:39 EDT 2007
Author: nbelaevski
Date: 2007-08-23 13:39:39 -0400 (Thu, 23 Aug 2007)
New Revision: 2450
Modified:
trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
trunk/ui/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
trunk/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/script/SpinnerScript.js
trunk/ui/panelbar/src/main/resources/org/richfaces/renderkit/html/scripts/panelbar.js
trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/scriptaculo.js
trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
Log:
http://jira.jboss.com/jira/browse/RF-670 fixed
Modified: trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js
===================================================================
--- trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-08-23 17:12:38 UTC (rev 2449)
+++ trunk/ui/calendar/src/main/resources/org/richfaces/renderkit/html/scripts/calendar.js 2007-08-23 17:39:39 UTC (rev 2450)
@@ -5,7 +5,7 @@
if(typeof Effect == 'undefined')
throw("calendar.js requires including script.aculo.us' effects.js library");
-if (!Richfaces) Richfaces={};
+if (!window.Richfaces) window.Richfaces={};
Richfaces.Calendar={};
Richfaces.Calendar.setElementPosition = function(element, baseElement, jointPoint, direction, offset)
{
Modified: trunk/ui/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js
===================================================================
--- trunk/ui/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2007-08-23 17:12:38 UTC (rev 2449)
+++ trunk/ui/dropdown-menu/src/main/resources/org/richfaces/renderkit/html/scripts/menu.js 2007-08-23 17:39:39 UTC (rev 2450)
@@ -5,7 +5,7 @@
var LOG = {a4j_debug:function(){}};
}
-if(!RichFaces) var RichFaces = {};
+if(!window.RichFaces) window.RichFaces = {};
if(!RichFaces.Menu) RichFaces.Menu = {};
/**
Modified: trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js
===================================================================
--- trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2007-08-23 17:12:38 UTC (rev 2449)
+++ trunk/ui/inputnumber-slider/src/main/resources/org/richfaces/renderkit/html/script/SliderScript.js 2007-08-23 17:39:39 UTC (rev 2450)
@@ -1,4 +1,4 @@
-if(!Richfaces) var Richfaces = {};
+if(!window.Richfaces) window.Richfaces = {};
Richfaces.Slider = Class.create();
Richfaces.Slider.prototype = {
initialize: function(handle, track, tip, table, handleSelectedClass, options) {
Modified: trunk/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/script/SpinnerScript.js
===================================================================
--- trunk/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/script/SpinnerScript.js 2007-08-23 17:12:38 UTC (rev 2449)
+++ trunk/ui/inputnumber-spinner/src/main/resources/org/richfaces/renderkit/html/script/SpinnerScript.js 2007-08-23 17:39:39 UTC (rev 2450)
@@ -1,4 +1,4 @@
-if (!Richfaces) var Richfaces = {};
+if (!window.Richfaces) window.Richfaces = {};
Richfaces.Spinner = Class.create();
Modified: trunk/ui/panelbar/src/main/resources/org/richfaces/renderkit/html/scripts/panelbar.js
===================================================================
--- trunk/ui/panelbar/src/main/resources/org/richfaces/renderkit/html/scripts/panelbar.js 2007-08-23 17:12:38 UTC (rev 2449)
+++ trunk/ui/panelbar/src/main/resources/org/richfaces/renderkit/html/scripts/panelbar.js 2007-08-23 17:39:39 UTC (rev 2450)
@@ -1,4 +1,4 @@
-if (!Richfaces) var Richfaces = {};
+if (!window.Richfaces) window.Richfaces = {};
Richfaces.PanelBar = Class.create();
Modified: trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/scriptaculo.js
===================================================================
--- trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/scriptaculo.js 2007-08-23 17:12:38 UTC (rev 2449)
+++ trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/scriptaculo.js 2007-08-23 17:39:39 UTC (rev 2450)
@@ -2032,8 +2032,8 @@
/*
Support for Drag and Drop in AJAX-JSF environment.
*/
-if (!Richfaces) {
- var Richfaces = {};
+if (!window.Richfaces) {
+ window.Richfaces = {};
}
if (!Richfaces.AJAX) {
Richfaces.AJAX = {};
Modified: trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js
===================================================================
--- trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2007-08-23 17:12:38 UTC (rev 2449)
+++ trunk/ui/suggestionbox/src/main/resources/org/richfaces/renderkit/html/scripts/suggestionbox.js 2007-08-23 17:39:39 UTC (rev 2450)
@@ -1,4 +1,4 @@
-if (!RichFaces) var RichFaces = {};
+if (!window.RichFaces) window.RichFaces = {};
var Suggestion = {};
Suggestion.Base = function() {
};
More information about the richfaces-svn-commits
mailing list