Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
chicpro
2013-01-28 17:42:51 +09:00

View File

@ -6,7 +6,7 @@ function chk_captcha()
var captcha_result = false; var captcha_result = false;
$.ajax({ $.ajax({
type: "POST", type: "POST",
url: g4_gcaptcha_path+"/get.php", url: g4_gcaptcha_url+"/get.php",
data: { data: {
"captcha_key": captcha_key.value "captcha_key": captcha_key.value
}, },
@ -26,7 +26,7 @@ function chk_captcha()
$(function() { $(function() {
$("#captcha").click(function(e) { $("#captcha").click(function(e) {
this.setAttribute("src", g4_path+"/plugin/captcha/run.php?t="+(new Date).getTime()); this.setAttribute("src", g4_url+"/plugin/captcha/run.php?t="+(new Date).getTime());
var keycode = (e.keyCode ? e.keyCode : e.which); var keycode = (e.keyCode ? e.keyCode : e.which);
// 첫 실행에서는 포커스를 주지 않음 // 첫 실행에서는 포커스를 주지 않음
if (typeof(keycode) != "undefined") { if (typeof(keycode) != "undefined") {