Alex Trofimov 10 лет назад
Родитель
Сommit
86aac599bf
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      template/reCaptcha.html
  2. 1 1
      template/scripts/BxBaseCaptchaReCAPTCHA.php

+ 2 - 2
template/reCaptcha.html

@@ -25,7 +25,7 @@
 	</bx_if:show_common>
 	<bx_if:show_dynamic>
 		if ('undefined' == typeof(window.__js_object__)) {
-	        $.getScript('http://www.google.com/recaptcha/api/js/recaptcha_ajax.js', function(data, textStatus, jqxhr) {
+	        $.getScript('https://www.google.com/recaptcha/api/js/recaptcha_ajax.js', function(data, textStatus, jqxhr) {
 	            __js_init__
 	        });
 	    }
@@ -33,4 +33,4 @@
 	    	__js_init__
 	    }
 	</bx_if:show_dynamic>
-</script>
+</script>

+ 1 - 1
template/scripts/BxBaseCaptchaReCAPTCHA.php

@@ -109,7 +109,7 @@ class BxBaseCaptchaReCAPTCHA extends BxDolCaptcha
             return '';
         if ($this->_bJsCssAdded)
             return '';
-        $this->_oTemplate->addJs('http://www.google.com/recaptcha/api/js/recaptcha_ajax.js');
+        $this->_oTemplate->addJs('https://www.google.com/recaptcha/api/js/recaptcha_ajax.js');
         $this->_bJsCssAdded = true;
         return '';
     }