Update scriptaculous v1.8.1 and prototype v1.6.0.2
This commit is contained in:
parent
415b003161
commit
d023ef1bda
@ -21,8 +21,8 @@ FPDI 1.2 Apache Software License 2.0 Non GPL3 uniqmt PDF encr
|
|||||||
MagPieRss 0.72 GPL 2.0 Oui Load RSS
|
MagPieRss 0.72 GPL 2.0 Oui Load RSS
|
||||||
NuSoap 0.6.5 LGPL 2.1 Oui Interfaces with third tools
|
NuSoap 0.6.5 LGPL 2.1 Oui Interfaces with third tools
|
||||||
PHP_WriteExcel 0.3.0 LGPL 2.1 Oui Excel files generation
|
PHP_WriteExcel 0.3.0 LGPL 2.1 Oui Excel files generation
|
||||||
Scriptaculous 1.8.0 MIT License Oui Extension Ajax
|
Scriptaculous 1.8.1 MIT License Oui Extension Ajax
|
||||||
Prototype 1.6.0 MIT License Oui Extension Ajax
|
Prototype 1.6.0.2 MIT License Oui Extension Ajax
|
||||||
Treemenu 1.1 Perso Oui Tree in HTML pages (like categories)
|
Treemenu 1.1 Perso Oui Tree in HTML pages (like categories)
|
||||||
VCard 2.0 GPL 2.0 Oui Fonctions vcard
|
VCard 2.0 GPL 2.0 Oui Fonctions vcard
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,11 @@
|
|||||||
|
*V1.8.1* (January 3, 2008)
|
||||||
|
|
||||||
|
* Fix Element#getStyles in IE. Closes #10563. [Tobie Langel]
|
||||||
|
|
||||||
|
* Update to Prototype 1.6.0.1 as of 8551.
|
||||||
|
|
||||||
|
* Fix a regression with autocompleters not responding correctly to cursor keys on both Safari and IE. Closes #10107. [thx Zman771]
|
||||||
|
|
||||||
*V1.8.0* (November 6, 2007)
|
*V1.8.0* (November 6, 2007)
|
||||||
|
|
||||||
* Update to Prototype 1.6.0 final
|
* Update to Prototype 1.6.0 final
|
||||||
|
|||||||
477
htdocs/includes/scriptaculous/lib/prototype.js
vendored
477
htdocs/includes/scriptaculous/lib/prototype.js
vendored
File diff suppressed because it is too large
Load Diff
@ -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)
|
// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
|
||||||
//
|
//
|
||||||
|
|||||||
@ -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)
|
// 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)
|
// (c) 2005-2007 Ivan Krstic (http://blogs.law.harvard.edu/ivan)
|
||||||
@ -88,7 +88,7 @@ Autocompleter.Base = Class.create({
|
|||||||
Element.hide(this.update);
|
Element.hide(this.update);
|
||||||
|
|
||||||
Event.observe(this.element, 'blur', this.onBlur.bindAsEventListener(this));
|
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() {
|
show: function() {
|
||||||
@ -144,12 +144,12 @@ Autocompleter.Base = Class.create({
|
|||||||
case Event.KEY_UP:
|
case Event.KEY_UP:
|
||||||
this.markPrevious();
|
this.markPrevious();
|
||||||
this.render();
|
this.render();
|
||||||
if(Prototype.Browser.WebKit) Event.stop(event);
|
Event.stop(event);
|
||||||
return;
|
return;
|
||||||
case Event.KEY_DOWN:
|
case Event.KEY_DOWN:
|
||||||
this.markNext();
|
this.markNext();
|
||||||
this.render();
|
this.render();
|
||||||
if(Prototype.Browser.WebKit) Event.stop(event);
|
Event.stop(event);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@ -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)
|
// 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)
|
// (c) 2005-2007 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz)
|
||||||
|
|||||||
22
htdocs/includes/scriptaculous/src/effects.js
vendored
22
htdocs/includes/scriptaculous/src/effects.js
vendored
@ -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)
|
// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
|
||||||
// Contributors:
|
// Contributors:
|
||||||
@ -103,7 +103,7 @@ var Effect = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
DefaultOptions: {
|
DefaultOptions: {
|
||||||
duration: 0.2, // seconds
|
duration: 1.0, // seconds
|
||||||
fps: 100, // 100= assume 66fps max.
|
fps: 100, // 100= assume 66fps max.
|
||||||
sync: false, // true for combining
|
sync: false, // true for combining
|
||||||
from: 0.0,
|
from: 0.0,
|
||||||
@ -568,7 +568,7 @@ Effect.Puff = function(element) {
|
|||||||
[ new Effect.Scale(element, 200,
|
[ new Effect.Scale(element, 200,
|
||||||
{ sync: true, scaleFromCenter: true, scaleContent: true, restoreAfterFinish: true }),
|
{ sync: true, scaleFromCenter: true, scaleContent: true, restoreAfterFinish: true }),
|
||||||
new Effect.Opacity(element, { sync: true, to: 0.0 } ) ],
|
new Effect.Opacity(element, { sync: true, to: 0.0 } ) ],
|
||||||
Object.extend({ duration: 0.2,
|
Object.extend({ duration: 1.0,
|
||||||
beforeSetupInternal: function(effect) {
|
beforeSetupInternal: function(effect) {
|
||||||
Position.absolutize(effect.effects[0].element)
|
Position.absolutize(effect.effects[0].element)
|
||||||
},
|
},
|
||||||
@ -614,7 +614,7 @@ Effect.SwitchOff = function(element) {
|
|||||||
element = $(element);
|
element = $(element);
|
||||||
var oldOpacity = element.getInlineOpacity();
|
var oldOpacity = element.getInlineOpacity();
|
||||||
return new Effect.Appear(element, Object.extend({
|
return new Effect.Appear(element, Object.extend({
|
||||||
duration: 0.2,
|
duration: 0.4,
|
||||||
from: 0,
|
from: 0,
|
||||||
transition: Effect.Transitions.flicker,
|
transition: Effect.Transitions.flicker,
|
||||||
afterFinishInternal: function(effect) {
|
afterFinishInternal: function(effect) {
|
||||||
@ -642,7 +642,7 @@ Effect.DropOut = function(element) {
|
|||||||
[ new Effect.Move(element, {x: 0, y: 100, sync: true }),
|
[ new Effect.Move(element, {x: 0, y: 100, sync: true }),
|
||||||
new Effect.Opacity(element, { sync: true, to: 0.0 }) ],
|
new Effect.Opacity(element, { sync: true, to: 0.0 }) ],
|
||||||
Object.extend(
|
Object.extend(
|
||||||
{ duration: 0.2,
|
{ duration: 0.5,
|
||||||
beforeSetup: function(effect) {
|
beforeSetup: function(effect) {
|
||||||
effect.effects[0].element.makePositioned();
|
effect.effects[0].element.makePositioned();
|
||||||
},
|
},
|
||||||
@ -656,7 +656,7 @@ Effect.Shake = function(element) {
|
|||||||
element = $(element);
|
element = $(element);
|
||||||
var options = Object.extend({
|
var options = Object.extend({
|
||||||
distance: 20,
|
distance: 20,
|
||||||
duration: 0.2
|
duration: 0.5
|
||||||
}, arguments[1] || {});
|
}, arguments[1] || {});
|
||||||
var distance = parseFloat(options.distance);
|
var distance = parseFloat(options.distance);
|
||||||
var split = parseFloat(options.duration) / 10.0;
|
var split = parseFloat(options.duration) / 10.0;
|
||||||
@ -885,7 +885,7 @@ Effect.Pulsate = function(element) {
|
|||||||
var reverser = function(pos){ return transition(1-Effect.Transitions.pulse(pos, options.pulses)) };
|
var reverser = function(pos){ return transition(1-Effect.Transitions.pulse(pos, options.pulses)) };
|
||||||
reverser.bind(transition);
|
reverser.bind(transition);
|
||||||
return new Effect.Opacity(element,
|
return new Effect.Opacity(element,
|
||||||
Object.extend(Object.extend({ duration: 1.0, from: 0,
|
Object.extend(Object.extend({ duration: 2.0, from: 0,
|
||||||
afterFinishInternal: function(effect) { effect.element.setStyle({opacity: oldOpacity}); }
|
afterFinishInternal: function(effect) { effect.element.setStyle({opacity: oldOpacity}); }
|
||||||
}, options), {transition: reverser}));
|
}, options), {transition: reverser}));
|
||||||
};
|
};
|
||||||
@ -1076,11 +1076,11 @@ if (document.defaultView && document.defaultView.getComputedStyle) {
|
|||||||
Element.getStyles = function(element) {
|
Element.getStyles = function(element) {
|
||||||
element = $(element);
|
element = $(element);
|
||||||
var css = element.currentStyle, styles;
|
var css = element.currentStyle, styles;
|
||||||
styles = Element.CSS_PROPERTIES.inject({ }, function(hash, property) {
|
styles = Element.CSS_PROPERTIES.inject({ }, function(results, property) {
|
||||||
hash.set(property, css[property]);
|
results[property] = css[property];
|
||||||
return hash;
|
return results;
|
||||||
});
|
});
|
||||||
if (!styles.opacity) styles.set('opacity', element.getOpacity());
|
if (!styles.opacity) styles.opacity = element.getOpacity();
|
||||||
return styles;
|
return styles;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@ -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)
|
// 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/
|
// For details, see the script.aculo.us web site: http://script.aculo.us/
|
||||||
|
|
||||||
var Scriptaculous = {
|
var Scriptaculous = {
|
||||||
Version: '1.8.0',
|
Version: '1.8.1',
|
||||||
require: function(libraryName) {
|
require: function(libraryName) {
|
||||||
// inserting via DOM fails in Safari 2.0, so brute force approach
|
// inserting via DOM fails in Safari 2.0, so brute force approach
|
||||||
document.write('<script type="text/javascript" src="'+libraryName+'"><\/script>');
|
document.write('<script type="text/javascript" src="'+libraryName+'"><\/script>');
|
||||||
|
|||||||
@ -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
|
// Copyright (c) 2005-2007 Marty Haught, Thomas Fuchs
|
||||||
//
|
//
|
||||||
|
|||||||
@ -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)
|
// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
|
||||||
//
|
//
|
||||||
|
|||||||
@ -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)
|
// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
|
||||||
// (c) 2005-2007 Jon Tirsen (http://www.tirsen.com)
|
// (c) 2005-2007 Jon Tirsen (http://www.tirsen.com)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user