XMTT 7 vuotta sitten
vanhempi
commit
8d4594110f
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      js/model/sys/answer/index.js

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

39
                        var aId = $(this).parent().attr("aId");
39
                        var aId = $(this).parent().attr("aId");
40
                        var qId = $(this).parent().attr("qId");
40
                        var qId = $(this).parent().attr("qId");
41
                        // window.open('http://www.ekexiu.com/articalShow.html?articleId=' + articleId);
41
                        // window.open('http://www.ekexiu.com/articalShow.html?articleId=' + articleId);
42
                        window.open('http://www.ekexiu.com/qa-show.html?id='+aId+'&topid=' + qId);
42
                        window.open('http://www.ekexiu.com/qa-show.html?id='+qId+'&topid=' + aId);
43
                    });
43
                    });
44
                    root.find("a.author").on("click",function () {
44
                    root.find("a.author").on("click",function () {
45
                        var professorId = $(this).parent().attr("professorId");
45
                        var professorId = $(this).parent().attr("professorId");
114
                        } else {
114
                        } else {
115
                            var aId = $answer.attr("aId");
115
                            var aId = $answer.attr("aId");
116
                            var qId = $answer.attr("qId");
116
                            var qId = $answer.attr("qId");
117
                            window.open('http://www.ekexiu.com/qa-show.html?id='+aId+'&topid=' + qId);
117
                            window.open('http://www.ekexiu.com/qa-show.html?id='+qId+'&topid=' + aId );
118
                        }
118
                        }
119
                    } else {
119
                    } else {
120
                        util.alert("请选择一篇回答");
120
                        util.alert("请选择一篇回答");