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
7d122875
Commit
7d122875
authored
May 25, 2018
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#28871 オーサリング「プレビュー」表示のURLに不正アクセスした場合の対処
parent
cb84cd51
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
abvw/common/js/avweb.js
+4
-0
abvw/js/contentview.js
+7
-1
No files found.
abvw/common/js/avweb.js
View file @
7d122875
...
@@ -876,6 +876,10 @@ AVWEB.showSystemError = function(textId) {
...
@@ -876,6 +876,10 @@ AVWEB.showSystemError = function(textId) {
//AVWEB.avwUserSetting().remove(COMMON.Keys.userInfo_sid_bak);
//AVWEB.avwUserSetting().remove(COMMON.Keys.userInfo_sid_bak);
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
Login
);
AVWEB
.
avwScreenMove
(
COMMON
.
ScreenIds
.
Login
);
}
}
}
else
if
(
COMMON
.
isAuthoringPreview
())
{
//オーサリングプレビューモードの場合は閉じる
window
.
open
(
''
,
'_self'
,
''
);
window
.
close
();
}
}
}
}
});
});
...
...
abvw/js/contentview.js
View file @
7d122875
...
@@ -6093,11 +6093,16 @@ CONTENTVIEW.ready = function(initContentId){
...
@@ -6093,11 +6093,16 @@ CONTENTVIEW.ready = function(initContentId){
ClientData
.
JumpQueue
([]);
ClientData
.
JumpQueue
([]);
ClientData
.
IsJumpBack
(
false
);
ClientData
.
IsJumpBack
(
false
);
//オーサリングプレビュー対応
if
(
COMMON
.
isAuthoringPreview
()
&&
CONTENTVIEW_GENERAL
.
pid
!=
''
){
// Show system error
AVWEB
.
showSystemError
();
}
else
{
var
moveScreen
=
null
;
var
moveScreen
=
null
;
if
(
!
ClientData
.
isStreamingMode
()
&&
!
ClientData
.
isGetitsMode
()){
if
(
!
ClientData
.
isStreamingMode
()
&&
!
ClientData
.
isGetitsMode
()){
moveScreen
=
COMMON
.
ScreenIds
.
Home
;
moveScreen
=
COMMON
.
ScreenIds
.
Home
;
}
}
if
(
xmlHttpRequest
.
status
==
404
)
{
if
(
xmlHttpRequest
.
status
==
404
)
{
CONTENTVIEW
.
showAlertScreen
(
I18N
.
i18nText
(
'msgContentNotExist'
),
moveScreen
);
CONTENTVIEW
.
showAlertScreen
(
I18N
.
i18nText
(
'msgContentNotExist'
),
moveScreen
);
}
}
...
@@ -6110,6 +6115,7 @@ CONTENTVIEW.ready = function(initContentId){
...
@@ -6110,6 +6115,7 @@ CONTENTVIEW.ready = function(initContentId){
AVWEB
.
showSystemError
();
AVWEB
.
showSystemError
();
}
}
}
}
}
);
);
};
};
...
...
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