XMTT 7 years ago
parent
commit
edc0ced0da
2 changed files with 2 additions and 2 deletions
  1. 1 1
      js/model/sys/answer/index.js
  2. 1 1
      js/model/sys/question/index.js

+ 1 - 1
js/model/sys/answer/index.js

78
                                btns: [{
78
                                btns: [{
79
                                    caption: "确认",
79
                                    caption: "确认",
80
                                    hand: function() {
80
                                    hand: function() {
81
                                        util.del("../ajax/qa/deleteAnswer", { id: $answer.attr("aId") }, function() { pdg.reload() }, {});
81
                                        util.del("../ajax/qa/deleteAnswer", { id: $answer.attr("aId"),qid:$answer.attr("qId") }, function() { pdg.reload() }, {});
82
                                    }
82
                                    }
83
                                },
83
                                },
84
                                    { caption: "取消" }
84
                                    { caption: "取消" }

+ 1 - 1
js/model/sys/question/index.js

67
                                btns: [{
67
                                btns: [{
68
                                    caption: "确认",
68
                                    caption: "确认",
69
                                    hand: function() {
69
                                    hand: function() {
70
                                        util.del("../ajax/qa/deleteQuestion", { id: $question.attr("qId") }, function() { pdg.reload() }, {});
70
                                        util.get("../ajax/qa/deleteQuestion", { id: $question.attr("qId") }, function() { pdg.reload() }, {});
71
                                    }
71
                                    }
72
                                },
72
                                },
73
                                    { caption: "取消" }
73
                                    { caption: "取消" }