You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ap...@apache.org on 2008/05/17 10:11:13 UTC

svn commit: r657319 - in /ofbiz/trunk/framework/images/webapp/images/prototypejs: builder.js controls.js dragdrop.js effects.js scriptaculous.js slider.js sound.js unittest.js

Author: apatel
Date: Sat May 17 01:11:13 2008
New Revision: 657319

URL: http://svn.apache.org/viewvc?rev=657319&view=rev
Log:
Updated scriptaculous.js to 1.8.1

Modified:
    ofbiz/trunk/framework/images/webapp/images/prototypejs/builder.js
    ofbiz/trunk/framework/images/webapp/images/prototypejs/controls.js
    ofbiz/trunk/framework/images/webapp/images/prototypejs/dragdrop.js
    ofbiz/trunk/framework/images/webapp/images/prototypejs/effects.js
    ofbiz/trunk/framework/images/webapp/images/prototypejs/scriptaculous.js
    ofbiz/trunk/framework/images/webapp/images/prototypejs/slider.js
    ofbiz/trunk/framework/images/webapp/images/prototypejs/sound.js
    ofbiz/trunk/framework/images/webapp/images/prototypejs/unittest.js

Modified: ofbiz/trunk/framework/images/webapp/images/prototypejs/builder.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/prototypejs/builder.js?rev=657319&r1=657318&r2=657319&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/prototypejs/builder.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/prototypejs/builder.js Sat May 17 01:11:13 2008
@@ -1,4 +1,4 @@
-// script.aculo.us builder.js v1.8.0, Tue Nov 06 15:01:40 +0300 2007
+// script.aculo.us builder.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008
 
 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
 //

Modified: ofbiz/trunk/framework/images/webapp/images/prototypejs/controls.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/prototypejs/controls.js?rev=657319&r1=657318&r2=657319&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/prototypejs/controls.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/prototypejs/controls.js Sat May 17 01:11:13 2008
@@ -1,4 +1,4 @@
-// script.aculo.us controls.js v1.8.0, Tue Nov 06 15:01:40 +0300 2007
+// script.aculo.us controls.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008
 
 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
 //           (c) 2005-2007 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
@@ -88,7 +88,7 @@
     Element.hide(this.update);
 
     Event.observe(this.element, 'blur', this.onBlur.bindAsEventListener(this));
-    Event.observe(this.element, 'keypress', this.onKeyPress.bindAsEventListener(this));
+    Event.observe(this.element, 'keydown', this.onKeyPress.bindAsEventListener(this));
   },
 
   show: function() {
@@ -144,12 +144,12 @@
        case Event.KEY_UP:
          this.markPrevious();
          this.render();
-         if(Prototype.Browser.WebKit) Event.stop(event);
+         Event.stop(event);
          return;
        case Event.KEY_DOWN:
          this.markNext();
          this.render();
-         if(Prototype.Browser.WebKit) Event.stop(event);
+         Event.stop(event);
          return;
       }
      else 

Modified: ofbiz/trunk/framework/images/webapp/images/prototypejs/dragdrop.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/prototypejs/dragdrop.js?rev=657319&r1=657318&r2=657319&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/prototypejs/dragdrop.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/prototypejs/dragdrop.js Sat May 17 01:11:13 2008
@@ -1,4 +1,4 @@
-// script.aculo.us dragdrop.js v1.8.0, Tue Nov 06 15:01:40 +0300 2007
+// script.aculo.us dragdrop.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008
 
 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
 //           (c) 2005-2007 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz)

Modified: ofbiz/trunk/framework/images/webapp/images/prototypejs/effects.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/prototypejs/effects.js?rev=657319&r1=657318&r2=657319&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/prototypejs/effects.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/prototypejs/effects.js Sat May 17 01:11:13 2008
@@ -1,4 +1,4 @@
-// script.aculo.us effects.js v1.8.0, Tue Nov 06 15:01:40 +0300 2007
+// script.aculo.us effects.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008
 
 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
 // Contributors:
@@ -1076,11 +1076,11 @@
   Element.getStyles = function(element) {
     element = $(element);
     var css = element.currentStyle, styles;
-    styles = Element.CSS_PROPERTIES.inject({ }, function(hash, property) {
-      hash.set(property, css[property]);
-      return hash;
+    styles = Element.CSS_PROPERTIES.inject({ }, function(results, property) {
+      results[property] = css[property];
+      return results;
     });
-    if (!styles.opacity) styles.set('opacity', element.getOpacity());
+    if (!styles.opacity) styles.opacity = element.getOpacity();
     return styles;
   };
 };

Modified: ofbiz/trunk/framework/images/webapp/images/prototypejs/scriptaculous.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/prototypejs/scriptaculous.js?rev=657319&r1=657318&r2=657319&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/prototypejs/scriptaculous.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/prototypejs/scriptaculous.js Sat May 17 01:11:13 2008
@@ -1,4 +1,4 @@
-// script.aculo.us scriptaculous.js v1.8.0, Tue Nov 06 15:01:40 +0300 2007
+// script.aculo.us scriptaculous.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008
 
 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
 // 
@@ -24,7 +24,7 @@
 // For details, see the script.aculo.us web site: http://script.aculo.us/
 
 var Scriptaculous = {
-  Version: '1.8.0',
+  Version: '1.8.1',
   require: function(libraryName) {
     // inserting via DOM fails in Safari 2.0, so brute force approach
     document.write('<script type="text/javascript" src="'+libraryName+'"><\/script>');

Modified: ofbiz/trunk/framework/images/webapp/images/prototypejs/slider.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/prototypejs/slider.js?rev=657319&r1=657318&r2=657319&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/prototypejs/slider.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/prototypejs/slider.js Sat May 17 01:11:13 2008
@@ -1,4 +1,4 @@
-// script.aculo.us slider.js v1.8.0, Tue Nov 06 15:01:40 +0300 2007
+// script.aculo.us slider.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008
 
 // Copyright (c) 2005-2007 Marty Haught, Thomas Fuchs 
 //

Modified: ofbiz/trunk/framework/images/webapp/images/prototypejs/sound.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/prototypejs/sound.js?rev=657319&r1=657318&r2=657319&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/prototypejs/sound.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/prototypejs/sound.js Sat May 17 01:11:13 2008
@@ -1,4 +1,4 @@
-// script.aculo.us sound.js v1.8.0, Tue Nov 06 15:01:40 +0300 2007
+// script.aculo.us sound.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008
 
 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
 //

Modified: ofbiz/trunk/framework/images/webapp/images/prototypejs/unittest.js
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/images/webapp/images/prototypejs/unittest.js?rev=657319&r1=657318&r2=657319&view=diff
==============================================================================
--- ofbiz/trunk/framework/images/webapp/images/prototypejs/unittest.js (original)
+++ ofbiz/trunk/framework/images/webapp/images/prototypejs/unittest.js Sat May 17 01:11:13 2008
@@ -1,4 +1,4 @@
-// script.aculo.us unittest.js v1.8.0, Tue Nov 06 15:01:40 +0300 2007
+// script.aculo.us unittest.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008
 
 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
 //           (c) 2005-2007 Jon Tirsen (http://www.tirsen.com)