forked from spen/seminar
驗證碼自動刷新
This commit is contained in:
parent
6cadd24992
commit
a38f3214b1
|
@ -941,7 +941,7 @@ class SeminarsController < ApplicationController
|
|||
def show_alert(notice_words)
|
||||
respond_to do |format|
|
||||
format.js{
|
||||
render :js => "alert('#{notice_words}');"
|
||||
render :js => "$('.rucaptcha-image').click();alert('#{notice_words}');"
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue