Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
check
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abook_web
check
Commits
fffb2ee3
Commit
fffb2ee3
authored
Apr 01, 2016
by
vietdo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#20090【Web 1.7】コンテンツ間リンクでリンクコンテンツが開けない
parent
f60213e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
80 additions
and
69 deletions
+80
-69
abvw/js/contentview.js
+22
-18
abvw/js/contentview_CreateObjects.js
+58
-51
No files found.
abvw/js/contentview.js
View file @
fffb2ee3
...
...
@@ -6245,7 +6245,7 @@ CONTENTVIEW.panoContentLink = function(targetContentId, page){
'oldContent'
:
oldContent
};
CONTENTVIEW_CREATEOBJECT
.
showContentConfirmDialog
(
data
.
contentData
.
alertMessageLevel
,
data
.
contentData
.
alertMessage
);
CONTENTVIEW_CREATEOBJECT
.
showContentConfirmDialog
(
data
.
contentData
.
alertMessageLevel
,
data
.
contentData
.
alertMessage
,
data
.
contentData
.
contentType
);
}
}
else
if
(
data
.
contentData
.
alertMessageLevel
==
CONTENTVIEW_CREATEOBJECT
.
alertMessageLevel
.
RequirePassword
){
...
...
@@ -6259,25 +6259,29 @@ CONTENTVIEW.panoContentLink = function(targetContentId, page){
'oldContent'
:
oldContent
};
CONTENTVIEW_CREATEOBJECT
.
showContentConfirmDialog
(
data
.
contentData
.
alertMessageLevel
);
CONTENTVIEW_CREATEOBJECT
.
showContentConfirmDialog
(
data
.
contentData
.
alertMessageLevel
,
data
.
contentData
.
contentType
);
}
else
if
(
data
.
contentData
.
alertMessageLevel
==
CONTENTVIEW_CREATEOBJECT
.
alertMessageLevel
.
None
){
ClientData
.
common_preContentId
(
targetContentId
);
ClientData
.
common_prePageNo
(
page
);
//古いページを保存する
var
oldContent
=
{
oldContentID
:
CONTENTVIEW_GENERAL
.
contentID
,
oldPageIndex
:
CONTENTVIEW_GENERAL
.
panoPageNo
};
var
dataJump
=
ClientData
.
JumpQueue
();
dataJump
.
push
(
oldContent
);
ClientData
.
JumpQueue
(
dataJump
);
if
(
CONTENTVIEW_GENERAL
.
avwUserEnvObj
.
isMobile
()
&&
ClientData
.
isGetitsMode
())
{
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
ContentViewGetits
);
}
else
{
CONTENTVIEW
.
screenMove
();
}
if
(
data
.
contentData
.
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Link
){
HEADER
.
viewLinkContentById
(
targetContentId
);
}
else
{
ClientData
.
common_preContentId
(
targetContentId
);
ClientData
.
common_prePageNo
(
page
);
//古いページを保存する
var
oldContent
=
{
oldContentID
:
CONTENTVIEW_GENERAL
.
contentID
,
oldPageIndex
:
CONTENTVIEW_GENERAL
.
panoPageNo
};
var
dataJump
=
ClientData
.
JumpQueue
();
dataJump
.
push
(
oldContent
);
ClientData
.
JumpQueue
(
dataJump
);
if
(
CONTENTVIEW_GENERAL
.
avwUserEnvObj
.
isMobile
()
&&
ClientData
.
isGetitsMode
())
{
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
ContentViewGetits
);
}
else
{
CONTENTVIEW
.
screenMove
();
}
}
}
}
else
{
...
...
abvw/js/contentview_CreateObjects.js
View file @
fffb2ee3
...
...
@@ -1411,19 +1411,19 @@ CONTENTVIEW_CREATEOBJECT.moveToContent = function (mediaType, actionType, id, im
CONTENTVIEW_CREATEOBJECT
.
moveToContent
.
prototype
=
new
CONTENTVIEW_CREATEOBJECT
.
PageObject
();
//START TRB00033 - EDITOR: Long - Date : 09/12/2013 - Summary : limit content
CONTENTVIEW_CREATEOBJECT
.
showContentConfirmDialog
=
function
(
type
,
msg
)
{
CONTENTVIEW_CREATEOBJECT
.
showContentConfirmDialog
=
function
(
type
,
msg
,
contentType
)
{
if
(
type
==
CONTENTVIEW_CREATEOBJECT
.
alertMessageLevel
.
ShowAlert
){
CONTENTVIEW_CREATEOBJECT
.
createAlertTypeDialog
(
msg
);
CONTENTVIEW_CREATEOBJECT
.
createAlertTypeDialog
(
msg
,
contentType
);
CONTENTVIEW_GENERAL
.
showDialog
(
true
);
}
else
if
(
type
==
CONTENTVIEW_CREATEOBJECT
.
alertMessageLevel
.
RequirePassword
){
CONTENTVIEW_CREATEOBJECT
.
createPwdRequiredTypeDialog
();
CONTENTVIEW_CREATEOBJECT
.
createPwdRequiredTypeDialog
(
contentType
);
CONTENTVIEW_GENERAL
.
showDialog
(
true
);
}
};
CONTENTVIEW_CREATEOBJECT
.
createAlertTypeDialog
=
function
(
msg
){
CONTENTVIEW_CREATEOBJECT
.
createAlertTypeDialog
=
function
(
msg
,
contentType
){
var
$container
=
$
(
'#dialog'
);
$container
.
html
(
''
);
$container
.
addClass
(
'sectionLimitAccess'
);
...
...
@@ -1448,30 +1448,33 @@ CONTENTVIEW_CREATEOBJECT.createAlertTypeDialog = function(msg){
});
$
(
'#dialog a#contentAlertOk'
).
click
(
function
(){
ClientData
.
common_preContentId
(
CONTENTVIEW_CREATEOBJECT
.
moveContentParam
.
preContentId
);
ClientData
.
common_prePageNo
(
CONTENTVIEW_CREATEOBJECT
.
moveContentParam
.
prePageNo
);
/* store old page */
var
dataJump
=
ClientData
.
JumpQueue
();
dataJump
.
push
(
CONTENTVIEW_CREATEOBJECT
.
moveContentParam
.
oldContent
);
ClientData
.
JumpQueue
(
dataJump
);
if
(
ClientData
.
isStreamingMode
()){
//ストリーミングのビューアへ移動
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
ContentViewStreaming
);
}
else
{
if
(
CONTENTVIEW_GENERAL
.
avwUserEnvObj
.
isMobile
()
&&
ClientData
.
isGetitsMode
())
{
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
ContentViewGetits
);
}
else
{
CONTENTVIEW
.
screenMove
();
}
}
if
(
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Link
){
HEADER
.
viewLinkContentById
(
CONTENTVIEW_CREATEOBJECT
.
moveContentParam
.
preContentId
);
}
else
{
ClientData
.
common_preContentId
(
CONTENTVIEW_CREATEOBJECT
.
moveContentParam
.
preContentId
);
ClientData
.
common_prePageNo
(
CONTENTVIEW_CREATEOBJECT
.
moveContentParam
.
prePageNo
);
/* store old page */
var
dataJump
=
ClientData
.
JumpQueue
();
dataJump
.
push
(
CONTENTVIEW_CREATEOBJECT
.
moveContentParam
.
oldContent
);
ClientData
.
JumpQueue
(
dataJump
);
if
(
ClientData
.
isStreamingMode
()){
//ストリーミングのビューアへ移動
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
ContentViewStreaming
);
}
else
{
if
(
CONTENTVIEW_GENERAL
.
avwUserEnvObj
.
isMobile
()
&&
ClientData
.
isGetitsMode
())
{
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
ContentViewGetits
);
}
else
{
CONTENTVIEW
.
screenMove
();
}
}
}
});
};
CONTENTVIEW_CREATEOBJECT
.
createPwdRequiredTypeDialog
=
function
(){
CONTENTVIEW_CREATEOBJECT
.
createPwdRequiredTypeDialog
=
function
(
contentType
){
var
$container
=
$
(
'#dialog'
);
$container
.
html
(
''
);
$container
.
addClass
(
'sectionLimitAccess'
);
...
...
@@ -1521,32 +1524,36 @@ CONTENTVIEW_CREATEOBJECT.createPwdRequiredTypeDialog = function(){
AVWEB
.
avwCmsApiSyncWithUrl
(
apiLoginUrl
,
null
,
'webClientLogin'
,
'GET'
,
params
,
function
(
data
)
{
if
(
data
.
result
==
'success'
)
{
ClientData
.
common_preContentId
(
CONTENTVIEW_CREATEOBJECT
.
moveContentParam
.
preContentId
);
ClientData
.
common_prePageNo
(
CONTENTVIEW_CREATEOBJECT
.
moveContentParam
.
prePageNo
);
/* store old page */
var
dataJump
=
ClientData
.
JumpQueue
();
dataJump
.
push
(
CONTENTVIEW_CREATEOBJECT
.
moveContentParam
.
oldContent
);
ClientData
.
JumpQueue
(
dataJump
);
// update sid id
ClientData
.
userInfo_sid
(
data
.
sid
);
ClientData
.
userInfo_sid_local
(
data
.
sid
);
//バックアップにも保持
ClientData
.
userInfo_sid_local_bak
(
data
.
sid
);
if
(
ClientData
.
isStreamingMode
()){
//ストリーミングのビューアへ移動
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
ContentViewStreaming
);
}
else
{
if
(
CONTENTVIEW_GENERAL
.
avwUserEnvObj
.
isMobile
()
&&
ClientData
.
isGetitsMode
())
{
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
ContentViewGetits
);
}
else
{
CONTENTVIEW
.
screenMove
();
}
}
if
(
contentType
==
COMMON
.
ContentTypeKeys
.
Type_Link
){
HEADER
.
viewLinkContentById
(
CONTENTVIEW_CREATEOBJECT
.
moveContentParam
.
preContentId
);
}
else
{
ClientData
.
common_preContentId
(
CONTENTVIEW_CREATEOBJECT
.
moveContentParam
.
preContentId
);
ClientData
.
common_prePageNo
(
CONTENTVIEW_CREATEOBJECT
.
moveContentParam
.
prePageNo
);
/* store old page */
var
dataJump
=
ClientData
.
JumpQueue
();
dataJump
.
push
(
CONTENTVIEW_CREATEOBJECT
.
moveContentParam
.
oldContent
);
ClientData
.
JumpQueue
(
dataJump
);
// update sid id
ClientData
.
userInfo_sid
(
data
.
sid
);
ClientData
.
userInfo_sid_local
(
data
.
sid
);
//バックアップにも保持
ClientData
.
userInfo_sid_local_bak
(
data
.
sid
);
if
(
ClientData
.
isStreamingMode
()){
//ストリーミングのビューアへ移動
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
ContentViewStreaming
);
}
else
{
if
(
CONTENTVIEW_GENERAL
.
avwUserEnvObj
.
isMobile
()
&&
ClientData
.
isGetitsMode
())
{
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
ContentViewGetits
);
}
else
{
CONTENTVIEW
.
screenMove
();
}
}
}
}
else
{
$
(
'#lblMessageLimitError'
).
html
(
AVWEB
.
format
(
I18N
.
i18nText
(
'msgLoginErrWrong'
),
data
.
errorMessage
).
toString
()).
show
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment