Commit e8a27166 by Masaru Abe

テスト対応

parent 22f001de
...@@ -899,15 +899,11 @@ AVWEB.avwClearError = function() { ...@@ -899,15 +899,11 @@ AVWEB.avwClearError = function() {
/* ブラウザunload時に警告メッセージの出力設定を行う関数 */ /* ブラウザunload時に警告メッセージの出力設定を行う関数 */
AVWEB.avwSetLogoutNortice = function() { AVWEB.avwSetLogoutNortice = function() {
console.log("AVWEB.avwSetLogoutNortice:" + ClientData.serviceOpt_daihatsu());
window.onbeforeunload = function(event) { window.onbeforeunload = function(event) {
console.log("window.onbeforeunload");
//DHカスタム //DHカスタム
if( ClientData.serviceOpt_daihatsu() == 'Y'){ if( ClientData.serviceOpt_daihatsu() == 'Y'){
if( "CONTENTVIEW_GENERAL.contentID" in window ){ if( "CONTENTVIEW_GENERAL" in window ){
if(CONTENTVIEW_GENERAL.contentID != null ){ if(CONTENTVIEW_GENERAL.contentID != null ){
COMMON.SetEndLog(CONTENTVIEW_GENERAL.contentID); COMMON.SetEndLog(CONTENTVIEW_GENERAL.contentID);
COMMON.RegisterLog(); COMMON.RegisterLog();
......
...@@ -170,9 +170,9 @@ SCREENLOCK.screenLock = function(options) { ...@@ -170,9 +170,9 @@ SCREENLOCK.screenLock = function(options) {
//DHカスタム //DHカスタム
if( ClientData.serviceOpt_daihatsu() == 'Y'){ if( ClientData.serviceOpt_daihatsu() == 'Y'){
if( "CONTENTVIEW_GENERAL.contentID" in window ){ if( "CONTENTVIEW_GENERAL" in window ){
if( CONTENTVIEW_GENERAL.contentID != null ){ if( CONTENTVIEW_GENERAL.contentID != null ){
COMMON.SetEndLog(contentID); COMMON.SetEndLog(CONTENTVIEW_GENERAL.contentID);
COMMON.RegisterLog(); COMMON.RegisterLog();
} }
} }
......
...@@ -1331,8 +1331,8 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max { ...@@ -1331,8 +1331,8 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
margin-left: auto; margin-left: auto;
margin-top: auto; margin-top: auto;
padding: 15px; padding: 15px;
z-index: 102; /*z-index: 102;*/
z-index: 101; z-index: 101;
} }
.popuptext_arrow { .popuptext_arrow {
......
...@@ -1085,7 +1085,9 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max { ...@@ -1085,7 +1085,9 @@ div .ui-slider-range, .ui-widget-header, .ui-slider-range-max {
border-color:#ccd; border-color:#ccd;
font-family: Verdana; font-family: Verdana;
font-size: 10pt; font-size: 10pt;
border-radius: 10px; border-radius: 10px;
word-break: break-all;
/*word-wrap: break-word;*/
-moz-box-shadow:-3px 3px 3px #777; -moz-box-shadow:-3px 3px 3px #777;
-webkit-box-shadow:-3px 3px 3px #777; -webkit-box-shadow:-3px 3px 3px #777;
......
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
<label class="lang" lang = "txtMemoMenu" > </label> <label class="lang" lang = "txtMemoMenu" > </label>
</h1> </h1>
<ul id="divAddMemo" class="bookmarkBoxBody_on"> <ul id="divAddMemo" class="bookmarkBoxBody_on">
<br /> <br />
<a id="liAddMemo" lang = "txtMemoNew" class="lang cancelbtn"> </a><br /> <a id="liAddMemo" lang = "txtMemoNew" class="lang cancelbtn"> </a><br />
<a id="liCopyMemo" lang = "txtMemoPaste" class="lang cancelbtn"> </a> <br /> <a id="liCopyMemo" lang = "txtMemoPaste" class="lang cancelbtn"> </a> <br />
<a id="liDeleteMemo" lang = "txtMemoClear" class="lang cancelbtn"> </a> <a id="liDeleteMemo" lang = "txtMemoClear" class="lang cancelbtn"> </a>
......
...@@ -893,6 +893,10 @@ BOOKMARK.IsExistContent = function(strContentId) { ...@@ -893,6 +893,10 @@ BOOKMARK.IsExistContent = function(strContentId) {
contentId: strContentId, contentId: strContentId,
authCode: ClientData.authCode() authCode: ClientData.authCode()
}; };
var method = "GET";
if( ClientData.authCode()
AVWEB.avwCmsApiSync(ClientData.userInfo_accountPath(), "webGetContent", 'GET', params, AVWEB.avwCmsApiSync(ClientData.userInfo_accountPath(), "webGetContent", 'GET', params,
function (data) { function (data) {
isExisted = true; isExisted = true;
......
...@@ -848,7 +848,7 @@ CONTENTSEARCH.readSubmenuFunction_callback = function(contentId) ...@@ -848,7 +848,7 @@ CONTENTSEARCH.readSubmenuFunction_callback = function(contentId)
else{ else{
//Go to Conten view page //Go to Conten view page
//AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView); //AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
CONTENTSEARCH.drawEditImage(contentId);
CONTENTSEARCH.showContentView(); CONTENTSEARCH.showContentView();
} }
......
...@@ -5483,29 +5483,31 @@ CONTENTVIEW.screenBack = function(){ ...@@ -5483,29 +5483,31 @@ CONTENTVIEW.screenBack = function(){
$("#header-ws").show(); $("#header-ws").show();
$("#ws-body").show(); $("#ws-body").show();
$("#topcontrol").show(); $("#topcontrol").show();
document.title = I18N.i18nText('dspHome') + ' | ' + I18N.i18nText('sysAppTitle'); document.title = I18N.i18nText('dspHome') + ' | ' + I18N.i18nText('sysAppTitle');
} else if( $('#bookmark').length ){ } else if( $('#bookmark').length ){
BOOKMARK.cssInit(); BOOKMARK.cssInit();
$("#header-ws").show(); $("#header-ws").show();
$("#ws-body").show(); $("#ws-body").show();
$("#topcontrol").show(); $("#topcontrol").show();
document.title = I18N.i18nText('dspShiori') + ' | ' + I18N.i18nText('sysAppTitle'); document.title = I18N.i18nText('dspShiori') + ' | ' + I18N.i18nText('sysAppTitle');
} else if( $('#history').length ){ } else if( $('#history').length ){
HISTORY.cssInit(); HISTORY.cssInit();
$("#header-ws").show(); $("#header-ws").show();
$("#ws-body").show(); $("#ws-body").show();
$("#topcontrol").show(); $("#topcontrol").show();
document.title = I18N.i18nText('dspViewHistory') + ' | ' + I18N.i18nText('sysAppTitle'); document.title = I18N.i18nText('dspViewHistory') + ' | ' + I18N.i18nText('sysAppTitle');
} else if( $('#contentsearch').length ){ } else if( $('#contentsearch').length ){
CONTENTSEARCH.cssInit(); CONTENTSEARCH.cssInit();
$("#header-ws").show(); $("#header-ws").show();
$("#ws-body").show(); $("#ws-body").show();
$("#topcontrol").show(); $("#topcontrol").show();
document.title = I18N.i18nText('txtSearchResult') + ' | ' + I18N.i18nText('sysAppTitle'); document.title = I18N.i18nText('txtSearchResult') + ' | ' + I18N.i18nText('sysAppTitle');
}
//プッシュメッセージ再開
// check new push message
if (COMMON.isAnonymousLogin() == false ) {
// continue check new push message
setTimeout(HEADER.getPushMessageNew, HEADER.getTimeWaitCheckNewPushMessage());
} }
}; };
...@@ -5607,6 +5609,8 @@ CONTENTVIEW.ready = function(){ ...@@ -5607,6 +5609,8 @@ CONTENTVIEW.ready = function(){
params, params,
function (data) { function (data) {
console.log("data.contentData.contentType:" + data.contentData.contentType);
CONTENTVIEW_GENERAL.contentType = data.contentData.contentType; CONTENTVIEW_GENERAL.contentType = data.contentData.contentType;
if(ClientData.isStreamingMode()){ if(ClientData.isStreamingMode()){
......
...@@ -570,7 +570,7 @@ CONTENTVIEW_INITOBJECT.initPageMediaAndHtmlType = function(){ ...@@ -570,7 +570,7 @@ CONTENTVIEW_INITOBJECT.initPageMediaAndHtmlType = function(){
CONTENTVIEW.enableSpecifyControl(); CONTENTVIEW.enableSpecifyControl();
//ビデオコンテンツの場合はキャッシュ確認 //ビデオコンテンツの場合はキャッシュ確認
if(contentType == ContentTypeKeys.Type_Video){ if(CONTENTVIEW_GENERAL.contentType == COMMON.ContentTypeKeys.Type_Video){
//ファイルシステムが有効であればキャッシュ確認 //ファイルシステムが有効であればキャッシュ確認
if( CONTENTVIEW_FILESYSTEM.fs == null ){ if( CONTENTVIEW_FILESYSTEM.fs == null ){
......
...@@ -854,11 +854,23 @@ HEADER.getTimeWaitCheckNewPushMessage = function() ...@@ -854,11 +854,23 @@ HEADER.getTimeWaitCheckNewPushMessage = function()
// get message new // get message new
HEADER.getPushMessageNew = function() HEADER.getPushMessageNew = function()
{ {
//$('.notification-pushmessage').hide(); //ロック中かビューア画面ならチェックしない
var params = { "sid": ClientData.userInfo_sid()}; if ($("#viewer").length) {
AVWEB.avwCmsApi(ClientData.userInfo_accountPath(), "webPushMessageNew", "post", params, //表示状態か
HEADER.callbackGetPushMessageNewSuccess, if( $('#viewer').is(':visible')){
function (xhr, b, c) { }); return;
}
}
//$('.notification-pushmessage').hide();
var params = { "sid": ClientData.userInfo_sid()};
AVWEB.avwCmsApi(
ClientData.userInfo_accountPath(),
"webPushMessageNew",
"post",
params,
HEADER.callbackGetPushMessageNewSuccess,
function (xhr, b, c) { }
);
}; };
// callback get number new message success // callback get number new message success
......
...@@ -701,6 +701,7 @@ HISTORY.readSubmenuFunction_callback = function(contentId){ ...@@ -701,6 +701,7 @@ HISTORY.readSubmenuFunction_callback = function(contentId){
//Go to Conten view page //Go to Conten view page
//AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView); //AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
HISTORY.drawEditImage(contentId);
HISTORY.showContentView(); HISTORY.showContentView();
} }
......
...@@ -706,7 +706,8 @@ HOME.canvasClickFunction_callback = function(outputId){ ...@@ -706,7 +706,8 @@ HOME.canvasClickFunction_callback = function(outputId){
//Go to Conten view page //Go to Conten view page
//AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView); //AVWEB.avwScreenMove(COMMON.ScreenIds.ContentView);
//試験 HOME.drawEditImage(outputId);
//ビュアーに切り替え
HOME.showContentView(); HOME.showContentView();
} }
......
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