Skip to content

Commit

Permalink
Update flow.js, remove fusty-flow.js, fix upload_max_filesize=0 bug, …
Browse files Browse the repository at this point in the history
…fix translation
  • Loading branch information
justinbeaty committed Aug 16, 2022
1 parent 71998f5 commit 9cc750f
Show file tree
Hide file tree
Showing 8 changed files with 1,679 additions and 455 deletions.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Catalog/Helper/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ public function validateUploadFile($filePath)
}

if ($imageInfo[0] > $maxDimension || $imageInfo[1] > $maxDimension) {
Mage::throwException($this->__('Disalollowed file format.'));
Mage::throwException($this->__('Disallowed file format.'));
}

$_processor = new Varien_Image($filePath);
Expand Down
2 changes: 0 additions & 2 deletions app/design/adminhtml/default/default/layout/main.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,6 @@ Layout for editor element
<action method="addJs"><script>mage/adminhtml/variables.js</script></action>
<action method="addJs"><script>mage/adminhtml/wysiwyg/widget.js</script></action>
<action method="addJs"><name>lib/uploader/flow.min.js</name></action>
<action method="addJs"><name>lib/uploader/fusty-flow.js</name></action>
<action method="addJs"><name>lib/uploader/fusty-flow-factory.js</name></action>
<action method="addJs"><name>mage/adminhtml/uploader/instance.js</name></action>
<action method="addJs"><script>mage/adminhtml/browser.js</script></action>
<action method="addJs"><script>prototype/window.js</script></action>
Expand Down
2 changes: 1 addition & 1 deletion app/locale/en_US/Mage_Catalog.csv
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@
"Details","Details"
"Disabled","Disabled"
"Disallowed file type.","Disallowed file type."
"Disalollowed file format.","Disalollowed file format."
"Disallowed file format.","Disallowed file format."
"Display Actual Price","Display Actual Price"
"Display Page Control","Display Page Control"
"Display Price Interval as One Price","Display Price Interval as One Price"
Expand Down
Loading

0 comments on commit 9cc750f

Please sign in to comment.