去掉js的调试语句
This commit is contained in:
parent
d3590b6a6e
commit
f024723f8c
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
// 点击 checkbox选中引用的资源的时候,保存该资源的id到session里去
|
// 点击 checkbox选中引用的资源的时候,保存该资源的id到session里去
|
||||||
function store_seleted_resource(dom){
|
function store_seleted_resource(dom){
|
||||||
console.log(dom.attr('checked'))
|
|
||||||
if(dom.attr('checked') == 'checked' ){
|
if(dom.attr('checked') == 'checked' ){
|
||||||
$.get(
|
$.get(
|
||||||
'<%= store_selected_resource_user_path(User.current) %>'+'?save=y&res_id='+dom.val()
|
'<%= store_selected_resource_user_path(User.current) %>'+'?save=y&res_id='+dom.val()
|
||||||
|
|
|
@ -10,7 +10,6 @@
|
||||||
|
|
||||||
// 点击 checkbox选中引用的资源的时候,保存该资源的id到session里去
|
// 点击 checkbox选中引用的资源的时候,保存该资源的id到session里去
|
||||||
function store_seleted_resource(dom){
|
function store_seleted_resource(dom){
|
||||||
console.log(dom.attr('checked'))
|
|
||||||
if(dom.attr('checked') == 'checked' ){
|
if(dom.attr('checked') == 'checked' ){
|
||||||
$.get(
|
$.get(
|
||||||
'<%= store_selected_resource_user_path %>'+'?save=y&res_id='+dom.val()
|
'<%= store_selected_resource_user_path %>'+'?save=y&res_id='+dom.val()
|
||||||
|
|
Loading…
Reference in New Issue