Commit 77dc53f9 by Masaru Abe

スクリーンロック対応

parent bec8d79a
...@@ -2337,7 +2337,7 @@ COMMON.unlockFunction = function(inputPass) { ...@@ -2337,7 +2337,7 @@ COMMON.unlockFunction = function(inputPass) {
AVWEB.avwCmsApiSyncWithUrl(apiLoginUrl, null, 'webClientLogin', 'GET', params, AVWEB.avwCmsApiSyncWithUrl(apiLoginUrl, null, 'webClientLogin', 'GET', params,
function (data) { function (data) {
if (data.result == 'success') { if (data.result == 'success') {
ClientData.userInfo_sid(data.sid); ClientData.userInfo_sid(data.sid);
ClientData.userInfo_sid_local(data.sid); ClientData.userInfo_sid_local(data.sid);
//バックアップにも保持 //バックアップにも保持
...@@ -2369,12 +2369,17 @@ COMMON.unlockFunction = function(inputPass) { ...@@ -2369,12 +2369,17 @@ COMMON.unlockFunction = function(inputPass) {
} }
} }
); );
if (result == true) { if (result == true) {
if (window.CONTENTVIEW_EVENTS) { //ビューア画面ならイベントのアンロック
CONTENTVIEW_EVENTS.onUnlock(); if ($("#viewer").length) {
} //表示状態か
if( $('#viewer').is(':visible')){
if (window.CONTENTVIEW_EVENTS) {
CONTENTVIEW_EVENTS.onUnlock();
}
}
}
} }
return { 'result': result, 'errorCode': errorCode, 'newTimeout': COMMON.getTimeWaitLockScreen() }; return { 'result': result, 'errorCode': errorCode, 'newTimeout': COMMON.getTimeWaitLockScreen() };
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment