|
|
|
@ -24,7 +24,6 @@
|
|
|
|
|
|
|
|
|
|
// 点击 checkbox选中引用的资源的时候,保存该资源的id到session里去
|
|
|
|
|
function store_seleted_resource(dom){
|
|
|
|
|
console.log(dom.attr('checked'))
|
|
|
|
|
if(dom.attr('checked') == 'checked' ){
|
|
|
|
|
$.get(
|
|
|
|
|
'<%= store_selected_resource_user_path(User.current) %>'+'?save=y&res_id='+dom.val()
|
|
|
|
|