Remane "mibewAgentButton" id to "mibew-agent-button"

This commit is contained in:
Dmitriy Simushev 2014-12-18 13:56:05 +00:00
parent 3c1863bdae
commit e2b1fa2247

View File

@ -126,7 +126,7 @@ class Plugin extends AbstractPlugin implements PluginInterface
protected function buildRefreshJs($time)
{
$js = '(function() {'
. 'var img = document.getElementById("mibewAgentButton").getElementsByTagName("img")[0];'
. 'var img = document.getElementById("mibew-agent-button").getElementsByTagName("img")[0];'
. 'var originalSrc = img.src;'
. 'setInterval(function() {'
. 'img.src = originalSrc + "&dummy=" + (new Date()).getTime();'