|
@ -494,11 +494,19 @@ mui.plusReady(function() {
|
494
|
494
|
var datatype = this.getAttribute("data-type");
|
495
|
495
|
var ownerid = this.getAttribute("owner-id");
|
496
|
496
|
if(datatype == 1) {
|
497
|
|
plus.nativeUI.showWaiting();
|
498
|
|
plus.webview.create("../html/professorArticle.html", '../html/professorArticle.html', {}, {
|
|
497
|
mui.openWindow({
|
|
498
|
url: '../html/professorArticle.html',
|
|
499
|
id: 'html/professorArticle.html',
|
|
500
|
show: {
|
|
501
|
autoShow: false,
|
|
502
|
aniShow: "slide-in-right",
|
|
503
|
},
|
|
504
|
extras: {
|
499
|
505
|
articleId: id,
|
500
|
506
|
ownerid: ownerid,
|
501
|
|
});
|
|
507
|
},
|
|
508
|
createNew:true
|
|
509
|
});
|
502
|
510
|
} else if(datatype == 2) {
|
503
|
511
|
plus.nativeUI.showWaiting();
|
504
|
512
|
plus.webview.create("../html/professorArticle.html", '../html/professorArticle.html', {}, {
|
|
@ -507,6 +515,7 @@ mui.plusReady(function() {
|
507
|
515
|
oFlag: 1
|
508
|
516
|
});
|
509
|
517
|
}
|
|
518
|
|
510
|
519
|
});
|
511
|
520
|
document.getElementsByClassName("thumbBtn")[0].addEventListener("tap", function() {
|
512
|
521
|
var oClsNm = document.getElementById("snum").parentNode.className;
|