jack 7 anni fa
parent
commit
722716b206
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      app/js/inviteFriends.js

+ 2 - 2
app/js/inviteFriends.js

@ -98,7 +98,6 @@ var person = {
98 98
							var ws = plus.webview.currentWebview();
99 99
							plus.nativeUI.closeWaiting(); //新webview的载入完毕后关闭等待框
100 100
							ws.show("slide-in-right", 150);
101
							professorName = ws.proName;
102 101
						}
103 102
						if($info.length == 0) {
104 103
							if(!pro) {
@ -307,6 +306,7 @@ mui.ready(function() {
307 306
				cancel: '取消',
308 307
				buttons: shareBts
309 308
			}, function(e) {
309
				professorName = plus.storage.getItem('name');
310 310
				if(e.index == 1) {
311 311
					var share = buildShareService();
312 312
					if(share) {
@ -343,7 +343,7 @@ mui.ready(function() {
343 343
					share.authorize(function() {
344 344
						console.log('授权成功...')
345 345
					}, function(e) {
346
						alert("认证授权失败:" + e.code + " - " + e.message);
346
						//alert("认证授权失败:" + e.code + " - " + e.message);
347 347
						return null;
348 348
					});
349 349
				}