Permalink
Browse files

Added compatibility with Mootools 1.4.2

  • Loading branch information...
1 parent 5e65b5f commit bda89780d19bfe7baadbf234d3dd44e7372ff930 @juanparati committed Jan 29, 2012
View
@@ -35,7 +35,7 @@
}
</style>
-<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.0/mootools-yui-compressed.js"></script>
+<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.2/mootools-yui-compressed.js"></script>
<script type="text/javascript" src="../Source/MooUpload.js"></script>
@@ -47,7 +47,7 @@
var myUpload = new MooUpload('filecontrol', {
action: 'upload.php', // Server side upload script
method: 'flash', // Use only Flash method
- multiple: false, // Force to single selection
+ multiple: false, // Force to single selection
accept: 'image/*' // Accept only images (Only works with Flash and partially with HTML5)
});
View
@@ -35,9 +35,9 @@
}
</style>
-<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.0/mootools-yui-compressed.js"></script>
+<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.2/mootools-yui-compressed.js"></script>
-<script type="text/javascript" src="MooUpload.js"></script>
+<script type="text/javascript" src="../Source/MooUpload.js"></script>
<script type="text/javascript">
View
@@ -35,7 +35,7 @@
}
</style>
-<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.0/mootools-yui-compressed.js"></script>
+<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.2/mootools-yui-compressed.js"></script>
<script type="text/javascript" src="../Source/MooUpload.js"></script>
@@ -47,7 +47,7 @@
var myUpload = new MooUpload('filecontrol', {
action: 'upload.php', // Server side upload script
method: 'html4', // Use only HTML4 method
- listview: false, // Disable listview
+ listview: false, // Disable listview
autostart: true // Force upload autostart
});
View
@@ -35,7 +35,7 @@
}
</style>
-<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.0/mootools-yui-compressed.js"></script>
+<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.2/mootools-yui-compressed.js"></script>
<script type="text/javascript" src="../Source/MooUpload.js"></script>
View
@@ -35,7 +35,7 @@
}
</style>
-<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.0/mootools-yui-compressed.js"></script>
+<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.2/mootools-yui-compressed.js"></script>
<script type="text/javascript" src="../Source/MooUpload.js"></script>
View
@@ -35,7 +35,7 @@
}
</style>
-<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.0/mootools-yui-compressed.js"></script>
+<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.2/mootools-yui-compressed.js"></script>
<script type="text/javascript" src="../Source/MooUpload.js"></script>
View
@@ -35,7 +35,7 @@
}
</style>
-<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.0/mootools-yui-compressed.js"></script>
+<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.2/mootools-yui-compressed.js"></script>
<script type="text/javascript" src="../Source/MooUpload.js"></script>
View
@@ -32,7 +32,7 @@ Screenshots
Dependencies
------------
-+ Mootools 1.4.0
++ Mootools 1.4.2
+ Elements.Event
+ Fx.Elements
+ Fx.Tween
View
Binary file not shown.
@@ -14,7 +14,7 @@
</define>
<define append="true">
<name>CONFIG::timeStamp</name>
- <value>'20/11/2011'</value>
+ <value>'29/01/2012'</value>
</define>
<source-path append="true">
<path-element>C:\wamp\www\MooUpload\Source\Moo.Uploader\src</path-element>
View
@@ -5,7 +5,7 @@ name: MooUpload
description: Crossbrowser file uploader with HTML5 chunk upload support
-version: 1.0
+version: 1.1
license: MIT-style license
@@ -331,12 +331,12 @@ var MooUpload = new Class({
// Old version of firefox and opera don't support click trigger for input files fields
// Internet "Exploiter" do not allow trigger a form submit if the input file field was not clicked directly by the user
if (this.options.method != 'flash' && (Browser.firefox2 || Browser.firefox3 || Browser.opera || Browser.ie))
- {
+ {
this.moveInput(subcontainer);
}
else
this.lastinput.setStyle('visibility', 'hidden');
-
+
// Create events
this.lastinput.addEvent('change', function(e) {
View
@@ -4,4 +4,4 @@ category: Utilities
tags: [upload, html5, file, chunk]
docs: https://github.com/juanparati/MooUpload
demo: http://www.livespanske.com/labs/MooUpload
-current: 1.0
+current: 1.1

0 comments on commit bda8978

Please sign in to comment.