Diff for Metafox/libpub/RotateAntispam/RotateAntispam.php between version 1.5 and 1.6
| version 1.5, 2013/10/04 14:39:30 |
version 1.6, 2013/10/07 13:48:02 |
| Line 416 class RotateAntispam { |
|
| Line 416 class RotateAntispam { |
|
| _beforeBox = fnc; |
_beforeBox = fnc; |
| } |
} |
| var button_submit; |
var button_submit; |
| if (button_submit == null) { |
|
| console.error("Not exists submit button with name '.$this->submit_name.'"); |
|
| return false; |
|
| } |
|
| var IE; |
var IE; |
| var MSIE_ver; |
var MSIE_ver; |
| function initRotateAntispam() { |
function initRotateAntispam() { |
| var button_submit = document.getElementsByName("'.$this->submit_name.'")[0]; |
var button_submit = document.getElementsByName("'.$this->submit_name.'")[0]; |
| |
if (button_submit == null) { |
| |
console.error("Not exists submit button with name '.$this->submit_name.'"); |
| |
return false; |
| |
} |
| var fnc = button_submit.getAttribute("onclick"); |
var fnc = button_submit.getAttribute("onclick"); |
| //var IE = document.all ? true : false; |
//var IE = document.all ? true : false; |
| IE = (navigator.appName == "Microsoft Internet Explorer"); |
IE = (navigator.appName == "Microsoft Internet Explorer"); |
Platon Group <platon@platon.org> http://platon.org/
|
|