Version Notes
Version 1.2.5:
* Fix links when loaded over SSL
Download this release
Release Info
Developer | stockinchannel |
Extension | Sinch_Tonerconfigurator |
Version | 1.2.5 |
Comparing to | |
See all releases |
Code changes from version 1.2.4 to 1.2.5
app/design/frontend/base/default/template/tonerconfigurator/configuratorscript.phtml
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
<script src="<?php echo $this->getSkinUrl('js/tonerconfigurator/spin.js', array('_use_rewrite' => true)); ?>" type="text/javascript"></script>
|
2 |
<script>
|
3 |
window.maxtonerlevel = <?php echo $this->getMaxLevel() ?>;
|
4 |
function changeCategory(level, val, configurator){
|
5 |
if(!val.hasAttribute('value'))return;
|
6 |
-
var reloadurl = '<?php echo $this->getUrl('tonerconfigurator/ajax/loadDropdown') ?>';
|
7 |
if(val.value.indexOf('/') != -1){
|
8 |
window.location.href = val.value;
|
9 |
loadMask(true, configurator);
|
@@ -61,7 +61,7 @@ onComplete: function(transport){
|
|
61 |
loadMask(false, configurator);
|
62 |
},
|
63 |
onTimeout: function() { console.log('Tonerconfigurator AJAX Timeout'); },
|
64 |
-
onFailure: function() { console.log('Tonerconfigurator AJAX Failure') }
|
65 |
});
|
66 |
}
|
67 |
<?php if($this->getData('button_based')==1): ?>
|
1 |
+
<script src="<?php echo $this->getSkinUrl('js/tonerconfigurator/spin.js', array('_use_rewrite' => true, '_secure' => Mage::app()->getFrontController()->getRequest()->isSecure())); ?>" type="text/javascript"></script>
|
2 |
<script>
|
3 |
window.maxtonerlevel = <?php echo $this->getMaxLevel() ?>;
|
4 |
function changeCategory(level, val, configurator){
|
5 |
if(!val.hasAttribute('value'))return;
|
6 |
+
var reloadurl = '<?php echo $this->getUrl('tonerconfigurator/ajax/loadDropdown', array('_secure' => Mage::app()->getFrontController()->getRequest()->isSecure())) ?>';
|
7 |
if(val.value.indexOf('/') != -1){
|
8 |
window.location.href = val.value;
|
9 |
loadMask(true, configurator);
|
61 |
loadMask(false, configurator);
|
62 |
},
|
63 |
onTimeout: function() { console.log('Tonerconfigurator AJAX Timeout'); },
|
64 |
+
onFailure: function() { console.log('Tonerconfigurator AJAX Failure'); }
|
65 |
});
|
66 |
}
|
67 |
<?php if($this->getData('button_based')==1): ?>
|
package.xml
CHANGED
@@ -1,20 +1,19 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Sinch_Tonerconfigurator</name>
|
4 |
-
<version>1.2.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Stockinthechannel.com's Toner Configurator</summary>
|
10 |
<description>Toner Configurator for use with Stockinthechannel.com's Toner Feed Export</description>
|
11 |
-
<notes>Version 1.2.
|
12 |
-
* Fix
|
13 |
-
* Fix compatibility with themes that don't inherit from default/default</notes>
|
14 |
<authors><author><name>stockinchannel</name><user>stockinchannel</user><email>support@stockinthechannel.com</email></author><author><name>Nick Anstee</name><user>nicka101</user><email>nick@stockinthechannel.com</email></author></authors>
|
15 |
-
<date>
|
16 |
-
<time>
|
17 |
-
<contents><target name="magelocal"><dir name="Sinch"><dir name="Tonerconfigurator"><dir name="Block"><file name="Configurator.php" hash="a382b2c544ffec9b2faeccfbfa6ffae4"/><file name="Configuratordropdowns.php" hash="68c452cbe13fd7d9d026e02de3d13841"/></dir><dir name="Helper"><file name="Category.php" hash="2b5bb13b363a835e9a0e017fcc80924c"/><file name="Data.php" hash="be435611423863055377da4e6735b1bc"/></dir><dir name="Model"><file name="Category.php" hash="d52497433a47a126055a60f1243fec43"/></dir><dir name="controllers"><file name="AjaxController.php" hash="449b572f5276449f46eb529154dd085d"/></dir><dir name="etc"><file name="config.xml" hash="7045c80f23a42793266d259fe8020c54"/><file name="widget.xml" hash="b7c986d728390a52ca896c4e57a4b412"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sinch_Tonerconfigurator.xml" hash="81f9dff948280c948016596cac095774"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tonerconfigurator"><file name="configurator.phtml" hash="81e35f0a88858640116294edabae5dd2"/><file name="configuratordropdowns.phtml" hash="dff371d8c83e30ff334dc8a4a6f6783a"/><file name="configuratorscript.phtml" hash="
|
18 |
<compatible/>
|
19 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Sinch_Tonerconfigurator</name>
|
4 |
+
<version>1.2.5</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Stockinthechannel.com's Toner Configurator</summary>
|
10 |
<description>Toner Configurator for use with Stockinthechannel.com's Toner Feed Export</description>
|
11 |
+
<notes>Version 1.2.5:
|
12 |
+
* Fix links when loaded over SSL</notes>
|
|
|
13 |
<authors><author><name>stockinchannel</name><user>stockinchannel</user><email>support@stockinthechannel.com</email></author><author><name>Nick Anstee</name><user>nicka101</user><email>nick@stockinthechannel.com</email></author></authors>
|
14 |
+
<date>2015-01-28</date>
|
15 |
+
<time>11:14:48</time>
|
16 |
+
<contents><target name="magelocal"><dir name="Sinch"><dir name="Tonerconfigurator"><dir name="Block"><file name="Configurator.php" hash="a382b2c544ffec9b2faeccfbfa6ffae4"/><file name="Configuratordropdowns.php" hash="68c452cbe13fd7d9d026e02de3d13841"/></dir><dir name="Helper"><file name="Category.php" hash="2b5bb13b363a835e9a0e017fcc80924c"/><file name="Data.php" hash="be435611423863055377da4e6735b1bc"/></dir><dir name="Model"><file name="Category.php" hash="d52497433a47a126055a60f1243fec43"/></dir><dir name="controllers"><file name="AjaxController.php" hash="449b572f5276449f46eb529154dd085d"/></dir><dir name="etc"><file name="config.xml" hash="7045c80f23a42793266d259fe8020c54"/><file name="widget.xml" hash="b7c986d728390a52ca896c4e57a4b412"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sinch_Tonerconfigurator.xml" hash="81f9dff948280c948016596cac095774"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="tonerconfigurator"><file name="configurator.phtml" hash="81e35f0a88858640116294edabae5dd2"/><file name="configuratordropdowns.phtml" hash="dff371d8c83e30ff334dc8a4a6f6783a"/><file name="configuratorscript.phtml" hash="015d9bbc8863c2636f7f0f8dbe4b4ecc"/></dir></dir><dir name="layout"><file name="tonerconfigurator.xml" hash="0ca3c170efd859ea25f891db0564d38c"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="tonerconfigurator"><file name="custom.css" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="default-noback.css" hash="8cc8540b73809ad6d3e41fb263e6afb3"/><file name="default.css" hash="e4244af2f6e0c5341d30824d050fdd5b"/><file name="inline-noback.css" hash="089a41d0fdb9f61ce83c7af7c6766599"/><file name="inline.css" hash="c9586ceccebc9c928df0deaa96fbf31b"/></dir></dir><dir name="js"><dir name="tonerconfigurator"><file name="spin.js" hash="aa8432b65b8253ea69b681a8b06bb297"/></dir></dir></dir></dir></dir></target></contents>
|
17 |
<compatible/>
|
18 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
19 |
</package>
|