Version Notes
Free Auguria_Core extension included.
Download this release
Release Info
Developer | Auguria |
Extension | auguriaInteractiveImage |
Version | 0.0.3 |
Comparing to | |
See all releases |
Code changes from version 0.0.2 to 0.0.3
- js/auguria/interactiveimage/image.js +2 -2
- package.xml +4 -4
js/auguria/interactiveimage/image.js
CHANGED
@@ -310,7 +310,7 @@ InteractiveImage.prototype = {
|
|
310 |
});
|
311 |
},
|
312 |
|
313 |
-
focusArea: function(area, box
|
314 |
// clean active filedsets
|
315 |
$$('#' + this.formId + ' fieldset').each(function(elem){
|
316 |
elem.removeClassName('active');
|
@@ -322,7 +322,7 @@ InteractiveImage.prototype = {
|
|
322 |
$('fieldset-' + area.id).addClassName('active');
|
323 |
},
|
324 |
|
325 |
-
dragArea: function(area, box
|
326 |
if(box){
|
327 |
$$('#' + this.formId + ' [name="areas[' + area.id + '][size][x]"]').first().value = parseInt(box.attrs.x);
|
328 |
$$('#' + this.formId + ' [name="areas[' + area.id + '][size][y]"]').first().value = parseInt(box.attrs.y);
|
310 |
});
|
311 |
},
|
312 |
|
313 |
+
focusArea: function(area, box){
|
314 |
// clean active filedsets
|
315 |
$$('#' + this.formId + ' fieldset').each(function(elem){
|
316 |
elem.removeClassName('active');
|
322 |
$('fieldset-' + area.id).addClassName('active');
|
323 |
},
|
324 |
|
325 |
+
dragArea: function(area, box){
|
326 |
if(box){
|
327 |
$$('#' + this.formId + ' [name="areas[' + area.id + '][size][x]"]').first().value = parseInt(box.attrs.x);
|
328 |
$$('#' + this.formId + ' [name="areas[' + area.id + '][size][y]"]').first().value = parseInt(box.attrs.y);
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>auguriaInteractiveImage</name>
|
4 |
-
<version>0.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/gpl-license.php">GNU General Public License</license>
|
7 |
<channel>community</channel>
|
@@ -20,9 +20,9 @@ Free Auguria_Core extension required.
|
|
20 |
</description>
|
21 |
<notes>Free Auguria_Core extension included.</notes>
|
22 |
<authors><author><name>Auguria</name><user>auguria</user><email>magento@auguria.net</email></author></authors>
|
23 |
-
<date>2014-07-
|
24 |
-
<time>
|
25 |
-
<contents><target name="magecommunity"><dir name="Auguria"><dir name="InteractiveImage"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Helper"><dir name="Form"><dir name="Image"><dir name="Interactive"><dir name="Panel"><dir name="Area"><file name="Default.php" hash="27c20fcc58c34a619c76c7d9f3020238"/></dir><file name="Areas.php" hash="79d25988e2c8898ef472aa0abfe29728"/></dir><file name="Popin.php" hash="f311bc5eb2b7a1de5b85cd4cf90922dc"/></dir><file name="Interactive.php" hash="b00f872fae58bbe8eaaa17d1a479f495"/></dir></dir></dir></dir></dir></dir><dir name="Catalog"><dir name="Product"><file name="Image.php" hash="0ae00def32a8ff335dbc8ab21d0b6abb"/></dir></dir></dir><dir name="Helper"><file name="Config.php" hash="1b681b6bc6026d85612e71e92e7e231b"/><file name="Data.php" hash="f77d687f8f8394f380b0c49011aed92f"/></dir><dir name="Model"><dir name="Catalog"><dir name="Product"><dir name="Attribute"><dir name="Backend"><file name="Image.php" hash="d4626a456cf2bf891b6907ab29d16224"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Auguria"><dir name="InteractiveImage"><file name="ImageController.php" hash="e2785e9df66cd2f18cd27b7a4591ee99"/></dir></dir></dir><dir name="Checkout"><dir name="Cart"><file name="AjaxController.php" hash="08e9986648018b25072b09855166b555"/></dir><file name="CartController.php" hash="03f0f24305a19f07001fe71853f58d81"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="5ec267e2e63459b3ec9eb7784ea9e4da"/><file name="config.xml" hash="a310e08733d8322dac53909760e54a88"/><file name="jstranslator.xml" hash="f85990cfdb8aac7ea10529c4b2dab0e6"/><file name="system.xml" hash="854e957398da36fd688cea794ab48fe8"/></dir><dir name="sql"><dir name="auguria_interactiveimage_setup"><file name="install-0.0.1.php" hash="42e8345c1826f45cb90a5a43d5ab3780"/></dir></dir></dir><dir name="Core"><dir name="Helper"><file name="Data.php" hash="73bdf383ed70ef7a844149518637d4b1"/></dir><dir name="Model"><dir name="Attribute"><dir name="Backend"><dir name="Image"><file name="Abstract.php" hash="4ac4fc2b5653635b2c7d6a6761d32394"/></dir></dir></dir><dir name="Customer"><dir name="Attribute"><dir name="Source"><file name="Group.php" hash="275163848ce915273abf1b3bc752a112"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Config.php" hash="5e31ba47c019daa5575b9e442060f1d6"/><dir name="Customer"><dir name="Group"><file name="Multiselect.php" hash="7ffe45941e1a10491e0b161d5e5a2572"/></dir></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="152714fbae8487307145ad01929173fd"/><file name="system.xml" hash="addce60a6afe7b99f9bbb8fa813d9010"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="auguria"><dir name="interactiveimage"><dir name="catalog"><dir name="product"><dir name="helper"><dir name="form"><dir name="image"><dir name="interactive"><dir name="panel"><dir name="area"><file name="default.phtml" hash="747a1cb7a7e43dfb59abd38ee14afdd5"/></dir><file name="areas.phtml" hash="0ab8dccd7bbd5b4532f1d6eb46083459"/></dir><file name="popin.phtml" hash="fbdb832cdb9a769aaabe9e694a819dfc"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="layout"><dir name="auguria"><file name="interactive_image.xml" hash="ef596e624796cc469f3660276d9a4233"/><file name="core.xml" hash="73d41f963e258e406b8b9042b7b0f17b"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="auguria"><dir name="interactiveimage"><dir name="catalog"><dir name="product"><file name="image.phtml" hash="b248488043e9347baa20ee71504ce462"/></dir></dir></dir></dir></dir><dir name="layout"><dir name="auguria"><file name="interactive_image.xml" hash="6a51a87a692676a91bad0236a1965520"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="auguria"><dir name="interactiveimage"><file name="cart.js" hash="724efb87a4b8fe5e5850921bc928e72d"/><file name="image.js" hash="
|
26 |
<compatible/>
|
27 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
28 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>auguriaInteractiveImage</name>
|
4 |
+
<version>0.0.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/gpl-license.php">GNU General Public License</license>
|
7 |
<channel>community</channel>
|
20 |
</description>
|
21 |
<notes>Free Auguria_Core extension included.</notes>
|
22 |
<authors><author><name>Auguria</name><user>auguria</user><email>magento@auguria.net</email></author></authors>
|
23 |
+
<date>2014-07-15</date>
|
24 |
+
<time>13:21:47</time>
|
25 |
+
<contents><target name="magecommunity"><dir name="Auguria"><dir name="InteractiveImage"><dir name="Block"><dir name="Adminhtml"><dir name="Catalog"><dir name="Product"><dir name="Helper"><dir name="Form"><dir name="Image"><dir name="Interactive"><dir name="Panel"><dir name="Area"><file name="Default.php" hash="27c20fcc58c34a619c76c7d9f3020238"/></dir><file name="Areas.php" hash="79d25988e2c8898ef472aa0abfe29728"/></dir><file name="Popin.php" hash="f311bc5eb2b7a1de5b85cd4cf90922dc"/></dir><file name="Interactive.php" hash="b00f872fae58bbe8eaaa17d1a479f495"/></dir></dir></dir></dir></dir></dir><dir name="Catalog"><dir name="Product"><file name="Image.php" hash="0ae00def32a8ff335dbc8ab21d0b6abb"/></dir></dir></dir><dir name="Helper"><file name="Config.php" hash="1b681b6bc6026d85612e71e92e7e231b"/><file name="Data.php" hash="f77d687f8f8394f380b0c49011aed92f"/></dir><dir name="Model"><dir name="Catalog"><dir name="Product"><dir name="Attribute"><dir name="Backend"><file name="Image.php" hash="d4626a456cf2bf891b6907ab29d16224"/></dir></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Auguria"><dir name="InteractiveImage"><file name="ImageController.php" hash="e2785e9df66cd2f18cd27b7a4591ee99"/></dir></dir></dir><dir name="Checkout"><dir name="Cart"><file name="AjaxController.php" hash="08e9986648018b25072b09855166b555"/></dir><file name="CartController.php" hash="03f0f24305a19f07001fe71853f58d81"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="5ec267e2e63459b3ec9eb7784ea9e4da"/><file name="config.xml" hash="a310e08733d8322dac53909760e54a88"/><file name="jstranslator.xml" hash="f85990cfdb8aac7ea10529c4b2dab0e6"/><file name="system.xml" hash="854e957398da36fd688cea794ab48fe8"/></dir><dir name="sql"><dir name="auguria_interactiveimage_setup"><file name="install-0.0.1.php" hash="42e8345c1826f45cb90a5a43d5ab3780"/></dir></dir></dir><dir name="Core"><dir name="Helper"><file name="Data.php" hash="73bdf383ed70ef7a844149518637d4b1"/></dir><dir name="Model"><dir name="Attribute"><dir name="Backend"><dir name="Image"><file name="Abstract.php" hash="4ac4fc2b5653635b2c7d6a6761d32394"/></dir></dir></dir><dir name="Customer"><dir name="Attribute"><dir name="Source"><file name="Group.php" hash="275163848ce915273abf1b3bc752a112"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Config.php" hash="5e31ba47c019daa5575b9e442060f1d6"/><dir name="Customer"><dir name="Group"><file name="Multiselect.php" hash="7ffe45941e1a10491e0b161d5e5a2572"/></dir></dir></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="152714fbae8487307145ad01929173fd"/><file name="system.xml" hash="addce60a6afe7b99f9bbb8fa813d9010"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="auguria"><dir name="interactiveimage"><dir name="catalog"><dir name="product"><dir name="helper"><dir name="form"><dir name="image"><dir name="interactive"><dir name="panel"><dir name="area"><file name="default.phtml" hash="747a1cb7a7e43dfb59abd38ee14afdd5"/></dir><file name="areas.phtml" hash="0ab8dccd7bbd5b4532f1d6eb46083459"/></dir><file name="popin.phtml" hash="fbdb832cdb9a769aaabe9e694a819dfc"/></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="layout"><dir name="auguria"><file name="interactive_image.xml" hash="ef596e624796cc469f3660276d9a4233"/><file name="core.xml" hash="73d41f963e258e406b8b9042b7b0f17b"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="auguria"><dir name="interactiveimage"><dir name="catalog"><dir name="product"><file name="image.phtml" hash="b248488043e9347baa20ee71504ce462"/></dir></dir></dir></dir></dir><dir name="layout"><dir name="auguria"><file name="interactive_image.xml" hash="6a51a87a692676a91bad0236a1965520"/></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="auguria"><dir name="interactiveimage"><file name="cart.js" hash="724efb87a4b8fe5e5850921bc928e72d"/><file name="image.js" hash="c870338e42e33ec10f37299f58b7034f"/><file name="jquery-1.10.2.min.js" hash="055b1c0c38f106959bdd3cee7e6b0136"/><file name="jquery.maphilight.min.js" hash="060990df8870589e0e629349f8fb3a4c"/><file name="kinetic-v4.5.4.min.js" hash="5d114c84e5926c19c8b1cee80ea79ce5"/></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="auguria"><dir name="interactiveimage"><file name="image.css" hash="47b0fbfecac78ae0b5a524cf85a5c515"/></dir><file name="core.css" hash="f21626dc01765695d52346bb5da8c0cb"/><dir name="images"><file name="tab-header.png" hash="277234c8e4a9462fe0bf91c174cef179"/><file name="section-header.png" hash="277234c8e4a9462fe0bf91c174cef179"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="auguria"><dir name="interactiveimage"><file name="image.css" hash="4081440dcd4fa462f4d18b9ef76266ea"/></dir></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Auguria_InteractiveImage.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="Auguria_Core.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir><dir name="fr_FR"><file name="Auguria_InteractiveImage.csv" hash="ca76a1aa121f73673b8fc16a6fcd7bc2"/><file name="Auguria_Core.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="mageetc"><dir name="modules"><file name="Auguria_InteractiveImage.xml" hash="bd010178de76af694025d33e666e55b2"/><file name="Auguria_Core.xml" hash="1569ebe15f1c2b8e4b5c61b9bc797fe6"/></dir></target></contents>
|
26 |
<compatible/>
|
27 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
28 |
</package>
|