Maven_Html5uploader - Version 1.0.7

Version Notes

1.0.7

Download this release

Release Info

Developer Maven
Extension Maven_Html5uploader
Version 1.0.7
Comparing to
See all releases


Code changes from version 1.0.6 to 1.0.7

package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Maven_Html5uploader</name>
4
- <version>1.0.6</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>html5 uploader</summary>
10
  <description>html5 uploader</description>
11
- <notes>1.0.6</notes>
12
  <authors><author><name>Maven</name><user>maven_ecommerce</user><email>extension@mavenecommerce.com</email></author></authors>
13
- <date>2016-11-11</date>
14
- <time>10:06:37</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Maven_Html5uploader.xml" hash="371bae7f48b36a55dfc75e454bc27197"/></dir></target><target name="magecommunity"><dir name="Maven"><dir name="Html5uploader"><dir name="Block"><dir name="Adminhtml"><dir name="Cms"><dir name="Wysiwyg"><dir name="Images"><dir name="Content"><file name="Uploader.php" hash="0b4c48b3b01ef6f7814618cfc7fc213e"/></dir></dir></dir></dir><dir name="Media"><file name="Uploader.php" hash="823f5d66fc7525e03bb1bbbcafa70ab4"/></dir></dir><dir name="Uploader"><file name="Multiple.php" hash="33515ddc4932b2c713be9cf2e9d71688"/></dir></dir><dir name="Helper"><file name="Data.php" hash="124a1e725c0f6205d6bb22b7b9017885"/></dir><dir name="Model"><dir name="Media"><file name="Uploader.php" hash="2a24a508f809a20eb0f35d896ce27756"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="AjaxController.php" hash="333b8b22b09a38971ff736cb54a91bcc"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="e65a851233905187a222f08258bf0be5"/><file name="config.xml" hash="ad75c2c32e793a8a122fe02f8ac561eb"/><file name="system.xml" hash="bfbd8132d85bce5589ed5609c048ad54"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="maven_html5uploader.xml" hash="5e29f3fb116504013c14b2ddce5b0288"/></dir><dir name="template"><dir name="maven"><dir name="uploader"><dir name="1.9.3"><file name="cms_uploader.phtml" hash="eaf4138c67b33910b1e5384c5f669ad6"/><file name="uploader.phtml" hash="40bdd8c589fc7e1ee865b55fa8e423d3"/></dir><file name="cms_uploader.phtml" hash="53aeee2a2481d17ef434d912015263e3"/><file name="uploader.phtml" hash="e00309ef045611d25e85f276f3fd2f89"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Maven_Html5uploader.csv" hash="dae82c5696e999c45bb282adc7d4dafb"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="js"><dir name="maven_html5upload"><file name="jsuploader.js" hash="f259cec4c426d3a8c9e0a41e5e6aa287"/><file name="script.js" hash="058209fdfb6f1848bde06c4602b8c953"/><file name="uploader.js" hash="cabe276db64bf5924b21498a9d13fb0d"/></dir></dir><dir name="css"><dir name="maven_html5upload"><file name="progress.png" hash="c66546fae9226a2f690aead728b6e7a2"/><file name="styles.css" hash="bb2a68be5fe319143db9c75286c54401"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>5.6.99</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Maven_Html5uploader</name>
4
+ <version>1.0.7</version>
5
  <stability>stable</stability>
6
  <license>Open Software License (OSL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>html5 uploader</summary>
10
  <description>html5 uploader</description>
11
+ <notes>1.0.7</notes>
12
  <authors><author><name>Maven</name><user>maven_ecommerce</user><email>extension@mavenecommerce.com</email></author></authors>
13
+ <date>2016-11-16</date>
14
+ <time>10:05:20</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Maven_Html5uploader.xml" hash="371bae7f48b36a55dfc75e454bc27197"/></dir></target><target name="magecommunity"><dir name="Maven"><dir name="Html5uploader"><dir name="Block"><dir name="Adminhtml"><dir name="Cms"><dir name="Wysiwyg"><dir name="Images"><dir name="Content"><file name="Uploader.php" hash="0b4c48b3b01ef6f7814618cfc7fc213e"/></dir></dir></dir></dir><dir name="Media"><file name="Uploader.php" hash="823f5d66fc7525e03bb1bbbcafa70ab4"/></dir></dir><dir name="Uploader"><file name="Multiple.php" hash="33515ddc4932b2c713be9cf2e9d71688"/></dir></dir><dir name="Helper"><file name="Data.php" hash="124a1e725c0f6205d6bb22b7b9017885"/></dir><dir name="Model"><dir name="Media"><file name="Uploader.php" hash="2a24a508f809a20eb0f35d896ce27756"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="AjaxController.php" hash="333b8b22b09a38971ff736cb54a91bcc"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="e65a851233905187a222f08258bf0be5"/><file name="config.xml" hash="ad75c2c32e793a8a122fe02f8ac561eb"/><file name="system.xml" hash="bfbd8132d85bce5589ed5609c048ad54"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="maven_html5uploader.xml" hash="5e29f3fb116504013c14b2ddce5b0288"/></dir><dir name="template"><dir name="maven"><dir name="uploader"><dir name="1.9.3"><file name="cms_uploader.phtml" hash="eaf4138c67b33910b1e5384c5f669ad6"/><file name="uploader.phtml" hash="40bdd8c589fc7e1ee865b55fa8e423d3"/></dir><file name="cms_uploader.phtml" hash="53aeee2a2481d17ef434d912015263e3"/><file name="uploader.phtml" hash="e00309ef045611d25e85f276f3fd2f89"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Maven_Html5uploader.csv" hash="dae82c5696e999c45bb282adc7d4dafb"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="js"><dir name="maven_html5upload"><file name="jsuploader.js" hash="f259cec4c426d3a8c9e0a41e5e6aa287"/><file name="script.js" hash="5f7c17b9e6915015101dd758a3f14d12"/><file name="uploader.js" hash="cabe276db64bf5924b21498a9d13fb0d"/></dir></dir><dir name="css"><dir name="maven_html5upload"><file name="progress.png" hash="c66546fae9226a2f690aead728b6e7a2"/><file name="styles.css" hash="bb2a68be5fe319143db9c75286c54401"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.3.0</min><max>5.6.99</max></php></required></dependencies>
18
  </package>
skin/adminhtml/default/default/js/maven_html5upload/script.js CHANGED
@@ -79,7 +79,7 @@ Developed by Craig Buckler (@craigbuckler) of OptimalWorks.net
79
  if (location.host.indexOf("sitepointstatic") >= 0) return
80
 
81
  var xhr = new XMLHttpRequest();
82
- if (xhr.upload && file.size <= $id("MAX_FILE_SIZE").value) {
83
 
84
  // create progress bar
85
  var o = $id("progress");
79
  if (location.host.indexOf("sitepointstatic") >= 0) return
80
 
81
  var xhr = new XMLHttpRequest();
82
+ if (xhr.upload && file.size <= $id("MAX_FILE_SIZE").value || parseInt($id("MAX_FILE_SIZE").value) == 0) {
83
 
84
  // create progress bar
85
  var o = $id("progress");