Commit 71785676 by Masaru Abe

動画再生リピート初期値設置対応

parent a546adaa
...@@ -2204,7 +2204,11 @@ $(function () { ...@@ -2204,7 +2204,11 @@ $(function () {
// 動画、音楽繰り返し // 動画、音楽繰り返し
if (ClientData.userOpt_musicMode() == null || ClientData.userOpt_musicMode() == undefined) { if (ClientData.userOpt_musicMode() == null || ClientData.userOpt_musicMode() == undefined) {
ClientData.userOpt_musicMode(1); if( AVWEB.avwSysSetting().optMusicMode != undefined){
ClientData.userOpt_musicMode(AVWEB.avwSysSetting().optMusicMode);
} else {
ClientData.userOpt_musicMode(1);
}
} }
if (ClientData.userOpt_videoMode() == null || ClientData.userOpt_videoMode() == undefined) { if (ClientData.userOpt_videoMode() == null || ClientData.userOpt_videoMode() == undefined) {
ClientData.userOpt_videoMode(1); ClientData.userOpt_videoMode(1);
......
...@@ -13,5 +13,6 @@ ...@@ -13,5 +13,6 @@
"anonymousLoginPath" : "test", "anonymousLoginPath" : "test",
"anonymousLoginId" : "nologin", "anonymousLoginId" : "nologin",
"appName" : "ABookWebCL", "appName" : "ABookWebCL",
"appVersion" : "0.0.1" "appVersion" : "0.0.1",
"optMusicMode" : 1
} }
...@@ -630,7 +630,15 @@ SETTINGS.dspOptReset_Click = function(e) { ...@@ -630,7 +630,15 @@ SETTINGS.dspOptReset_Click = function(e) {
// 最初の画面を選択 // 最初の画面を選択
$("#rdoOpt001").attr('checked', 'checked'); $("#rdoOpt001").attr('checked', 'checked');
// 動画、音楽繰り返し // 動画、音楽繰り返し
$("#chkOpt002").attr('checked', 'checked'); if( AVWEB.avwSysSetting().optMusicMode != undefined){
if(AVWEB.avwSysSetting().optMusicMode == 1){
$("#chkOpt002").attr('checked', 'checked');
} else {
$("#chkOpt002").removeAttr('checked');
}
} else {
$("#chkOpt002").attr('checked', 'checked');
}
// マーキング(コンテンツを開いた時に表示する) // マーキング(コンテンツを開いた時に表示する)
$("#chkOpt003").attr('checked', 'checked'); $("#chkOpt003").attr('checked', 'checked');
// Show alert when press F5.close tab.broswer // Show alert when press F5.close tab.broswer
......
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