dev_partners
daiao 6 years ago
parent a28509c2e8
commit 0c82824439

@ -8,7 +8,7 @@
<%= csrf_meta_tag %>
<%= favicon %>
<%= stylesheet_link_tag 'educoder/edu-main','educoder/edu-all' %>
<%= javascript_include_tag 'jquery-1.8.3-ui-1.9.2-ujs-2.0.3', 'educoder/edu_application', 'educoder/edu_account' %>
<%= javascript_include_tag 'jquery-1.8.3-ui-1.9.2-ujs-2.0.3', 'jquery.colorbox-min','educoder/edu_application', 'educoder/edu_account' %>
</head>
<body>

@ -836,12 +836,12 @@ $(function(){
var image = $("#ren_zheng_image");
var element = $("<a></a>").attr("href", image.attr('src')+".png");
image.wrap(element);
//image.parent().colorbox({rel: 'nofollow', close: "关闭", returnFocus: false});
image.parent().colorbox({rel: 'nofollow', close: "关闭", returnFocus: false});
var auth_image = $("#upload_id_image");
var auth_element = $("<a></a>").attr("href", auth_image.attr('src')+".png");
auth_image.wrap(auth_element);
//auth_image.parent().colorbox({rel: 'nofollow', close: "关闭", returnFocus: false});
auth_image.parent().colorbox({rel: 'nofollow', close: "关闭", returnFocus: false});
$("#user_auth_submit_a").one("click", function(){
user_auth_submit(1);

Loading…
Cancel
Save