|
@ -494,19 +494,15 @@ 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
|
|
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: {
|
|
497
|
plus.nativeUI.showWaiting();
|
|
498
|
var webviewShow=plus.webview.create("../html/professorArticle.html", '../html/professorArticle.html', {}, {
|
505
|
499
|
articleId: id,
|
506
|
500
|
ownerid: ownerid,
|
507
|
|
},
|
508
|
|
createNew:true
|
509
|
|
});
|
|
501
|
});
|
|
502
|
webviewShow.addEventListener("loaded", function() {
|
|
503
|
setTimeout(function(){plus.webview.currentWebview().close()},2000)
|
|
504
|
|
|
505
|
}, false);
|
510
|
506
|
} else if(datatype == 2) {
|
511
|
507
|
plus.nativeUI.showWaiting();
|
512
|
508
|
plus.webview.create("../html/professorArticle.html", '../html/professorArticle.html', {}, {
|