diff --git a/app/views/managements/_subject_level_list.html.erb b/app/views/managements/_subject_level_list.html.erb index b637e261..1a4bf6d7 100644 --- a/app/views/managements/_subject_level_list.html.erb +++ b/app/views/managements/_subject_level_list.html.erb @@ -14,7 +14,7 @@ <%= l.subjects.size %> <%= format_time l.created_at %> - 删除 + 删除 重命名 diff --git a/public/javascripts/application.js b/public/javascripts/application.js index aaaf4346..9cc1b428 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -2075,6 +2075,14 @@ function delete_confirm_box_3(url, str){ pop_box_new(htmlvalue, 300, 140); } +//点击删除时的确认弹框: 走post方法 +function delete_confirm_box_4(url, str){ + var htmlvalue = '

提示

'+ + '

' + str + '

取消'+ + '确定
'; + pop_box_new(htmlvalue, 480, 160); +} + //提示框:只有一个按钮,点击关闭弹框 function notice_sure_box(str){ var htmlvalue = '

提示

'+