Version Notes
-Add cache busting to velaro setup page
Download this release
Release Info
Developer | Velaro |
Extension | Velaro_Chat |
Version | 1.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.3.2
app/code/community/Velaro/Chat/controllers/VelaroController.php
CHANGED
@@ -57,6 +57,7 @@ class Velaro_Chat_VelaroController extends Mage_Adminhtml_Controller_Action
|
|
57 |
$json = Zend_Json::encode($conversion);
|
58 |
$response = $client->setRawData($json, 'application/json')->request('POST');
|
59 |
}
|
|
|
60 |
$this->_redirect('*/velaro/index');
|
61 |
}
|
62 |
|
57 |
$json = Zend_Json::encode($conversion);
|
58 |
$response = $client->setRawData($json, 'application/json')->request('POST');
|
59 |
}
|
60 |
+
Mage::app()->getCacheInstance()->flush();
|
61 |
$this->_redirect('*/velaro/index');
|
62 |
}
|
63 |
|
js/velaro_chat/velaro-admin.js
CHANGED
@@ -104,6 +104,14 @@
|
|
104 |
});
|
105 |
matchVelaroGroup();
|
106 |
setupVelaroSelects();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
})
|
108 |
|
109 |
|
104 |
});
|
105 |
matchVelaroGroup();
|
106 |
setupVelaroSelects();
|
107 |
+
|
108 |
+
// stop enter from submitting form since we also have a link button
|
109 |
+
$$('input').forEach(function (input) {
|
110 |
+
input.on('keypress', function (event) {
|
111 |
+
var key = event.which || event.keyCode;
|
112 |
+
if (key === Event.KEY_RETURN) Event.stop(event)
|
113 |
+
});
|
114 |
+
});
|
115 |
})
|
116 |
|
117 |
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Velaro_Chat</name>
|
4 |
-
<version>1.3.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="https://opensource.org/licenses/OSL-3.0">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Add Velaro Live Chat into your pages</summary>
|
10 |
<description>Add Velaro Live Chat into your pages</description>
|
11 |
-
<notes>-
|
12 |
<authors><author><name>Velaro</name><user>jtuttle87</user><email>jonathan@velaro.com</email></author></authors>
|
13 |
-
<date>2016-03-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magecommunity"><dir name="Velaro"><dir name="Chat"><dir name="Block"><dir name="Adminhtml"><file name="Chat.php" hash="b19da118e22d718aade5a5aa153b50d1"/></dir></dir><dir name="Helper"><file name="Data.php" hash="7f21fbcbf6d766b3a68c4383557448f6"/></dir><dir name="controllers"><file name="VelaroController.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.0</min><max>5.5.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Velaro_Chat</name>
|
4 |
+
<version>1.3.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="https://opensource.org/licenses/OSL-3.0">Open Software License (OSL)</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Add Velaro Live Chat into your pages</summary>
|
10 |
<description>Add Velaro Live Chat into your pages</description>
|
11 |
+
<notes>-Add cache busting to velaro setup page</notes>
|
12 |
<authors><author><name>Velaro</name><user>jtuttle87</user><email>jonathan@velaro.com</email></author></authors>
|
13 |
+
<date>2016-03-22</date>
|
14 |
+
<time>14:13:53</time>
|
15 |
+
<contents><target name="magecommunity"><dir name="Velaro"><dir name="Chat"><dir name="Block"><dir name="Adminhtml"><file name="Chat.php" hash="b19da118e22d718aade5a5aa153b50d1"/></dir></dir><dir name="Helper"><file name="Data.php" hash="7f21fbcbf6d766b3a68c4383557448f6"/></dir><dir name="controllers"><file name="VelaroController.php" hash="b383dab0a586ae67322b15c48135cf54"/></dir><dir name="etc"><file name="adminhtml.xml" hash="e8492df651174367d07f9e2fded6076f"/><file name="config.xml" hash="34b0a1540bf02e7062b0305b8bee1c03"/><file name="system.xml" hash="f3684613501f217433b5d9b6c59444f9"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="velaro.xml" hash="b20d10f8f8e04c4817286ffd5b8a54b6"/></dir><dir name="template"><dir name="velaro"><file name="footerscripts.phtml" hash="333a3627721477f055b86827494df68b"/><file name="settings.phtml" hash="436bd6cbf31c31de24f4d22266b913fa"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="velaro.xml" hash="64adfbe3e88c67d94f16f2b880ff2842"/></dir><dir name="template"><dir name="velaro"><file name="chatscript.phtml" hash="08f4c212f841ac4f3d97ef33c0e11a3e"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Velaro_Chat.xml" hash="6b35a002ff559e0c99e1764dab21d641"/></dir></target><target name="mageweb"><dir name="js"><dir name="velaro_chat"><file name="velaro-admin.js" hash="9c4091d28d40f74aadef310065779e95"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.3.0</min><max>5.5.0</max></php></required></dependencies>
|
18 |
</package>
|