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
3c754480
Commit
3c754480
authored
Dec 05, 2012
by
Motohisa Nakano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20121205
parent
8e46bb9c
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
131 additions
and
27 deletions
+131
-27
abvw/common/js/common.js
+15
-0
abvw/common/json/lang/lang-en.json
+1
-1
abvw/common/json/lang/lang-ja.json
+1
-1
abvw/common/json/lang/lang-ko.json
+1
-1
abvw/contentview.html
+23
-9
abvw/css/viewer.css
+11
-0
abvw/js/SCRCDL0100.js
+3
-1
abvw/js/bookmark.js
+1
-1
abvw/js/contentsearch.js
+1
-1
abvw/js/contentview.js
+25
-3
abvw/js/header.js
+42
-5
abvw/js/history.js
+1
-1
abvw/js/home.js
+6
-3
No files found.
abvw/common/js/common.js
View file @
3c754480
...
@@ -68,6 +68,7 @@ var ScreenIds = {
...
@@ -68,6 +68,7 @@ var ScreenIds = {
};
};
var
Keys
=
{
var
Keys
=
{
IsRefresh
:
'IsRefresh'
,
// Local
// Local
BookmarkScreen
:
'BookmarkScreen'
,
BookmarkScreen
:
'BookmarkScreen'
,
// Local
// Local
...
@@ -470,6 +471,20 @@ var ClientData = {
...
@@ -470,6 +471,20 @@ var ClientData = {
return
LocalStorageUtils
.
get
(
Keys
.
JumpQueue
);
return
LocalStorageUtils
.
get
(
Keys
.
JumpQueue
);
}
}
},
},
IsRefresh
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
SessionStorageUtils
.
set
(
Keys
.
IsRefresh
,
JSON
.
stringify
(
data
));
}
else
{
if
(
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
'undefined'
&&
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
undefined
&&
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
''
&&
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
null
&&
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
)
!=
'null'
)
{
return
JSON
.
parse
(
SessionStorageUtils
.
get
(
Keys
.
IsRefresh
));
}
return
false
;
}
},
// Session
// Session
IsLocked
:
function
(
data
)
{
IsLocked
:
function
(
data
)
{
if
(
arguments
.
length
>
0
)
{
if
(
arguments
.
length
>
0
)
{
...
...
abvw/common/json/lang/lang-en.json
View file @
3c754480
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"EN:バックアップしないでログアウト"
,
"dspBkCancel"
:
"EN:バックアップしないでログアウト"
,
"txtSearchResult"
:
"Search Result"
,
"txtSearchResult"
:
"Search Result"
,
"dspHome"
:
"Home"
,
"dspHome"
:
"Home"
,
"txtLoginUser"
:
"(Ver.2012120
4
-1)EN:ログイン中:"
,
"txtLoginUser"
:
"(Ver.2012120
5
-1)EN:ログイン中:"
,
"txtAll"
:
"All"
,
"txtAll"
:
"All"
,
"txtMkgSize"
:
"EN:太さ"
,
"txtMkgSize"
:
"EN:太さ"
,
"txtMkgS"
:
"EN:小"
,
"txtMkgS"
:
"EN:小"
,
...
...
abvw/common/json/lang/lang-ja.json
View file @
3c754480
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"バックアップしないでログアウト"
,
"dspBkCancel"
:
"バックアップしないでログアウト"
,
"txtSearchResult"
:
"検索結果"
,
"txtSearchResult"
:
"検索結果"
,
"dspHome"
:
"ホーム"
,
"dspHome"
:
"ホーム"
,
"txtLoginUser"
:
"(Ver.2012120
4
-1)ログイン中:"
,
"txtLoginUser"
:
"(Ver.2012120
5
-1)ログイン中:"
,
"txtAll"
:
"すべて"
,
"txtAll"
:
"すべて"
,
"txtMkgSize"
:
"太さ"
,
"txtMkgSize"
:
"太さ"
,
"txtMkgS"
:
"小"
,
"txtMkgS"
:
"小"
,
...
...
abvw/common/json/lang/lang-ko.json
View file @
3c754480
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
"dspBkCancel"
:
"로그아웃"
,
"dspBkCancel"
:
"로그아웃"
,
"txtSearchResult"
:
"검색 결과"
,
"txtSearchResult"
:
"검색 결과"
,
"dspHome"
:
"홈"
,
"dspHome"
:
"홈"
,
"txtLoginUser"
:
"(Ver.2012120
4
-1)로그인 중:"
,
"txtLoginUser"
:
"(Ver.2012120
5
-1)로그인 중:"
,
"txtAll"
:
"전체"
,
"txtAll"
:
"전체"
,
"txtMkgSize"
:
"두께"
,
"txtMkgSize"
:
"두께"
,
"txtMkgS"
:
"소"
,
"txtMkgS"
:
"소"
,
...
...
abvw/contentview.html
View file @
3c754480
...
@@ -774,8 +774,10 @@
...
@@ -774,8 +774,10 @@
/* change size */
/* change size */
function
sizingScreen
()
{
function
sizingScreen
()
{
var
w
=
$
(
"#wrapper"
).
width
();
var
w1
=
$
(
"#wrapper"
).
width
();
var
h
=
$
(
"#wrapper"
).
height
();
var
h1
=
$
(
"#wrapper"
).
height
();
var
w
=
$
(
window
).
width
();
var
h
=
$
(
window
).
height
();
// Adjust the size of the View
// Adjust the size of the View
if
(
isFullScreen
==
true
){
if
(
isFullScreen
==
true
){
...
@@ -1919,8 +1921,8 @@
...
@@ -1919,8 +1921,8 @@
}
else
{
}
else
{
/* create data on dialog */
/* create data on dialog */
$
(
'#divCopyText'
).
children
().
remove
();
$
(
'#divCopyText'
).
children
().
remove
();
$
(
'#divCopyText'
).
append
(
'<li class="last">'
+
sPageText
+
'</li>'
);
//
$('#divCopyText').append('
<
li
class
=
"last"
>
' + sPageText + '
<
/li>'
)
;
$
(
'#divCopyText'
).
append
(
'<label class="last" style="word-wrap:break-word">'
+
sPageText
+
'</label>'
);
/* display dialog */
/* display dialog */
// $("#divCopyText").dialog({
// $("#divCopyText").dialog({
// show: "blind",
// show: "blind",
...
@@ -1936,6 +1938,7 @@
...
@@ -1936,6 +1938,7 @@
$
(
'#bookmarkBoxHdCT'
).
html
(
'<a id="copyTextClosing" class="delete" style="padding-top:0px;"> </a>'
);
$
(
'#bookmarkBoxHdCT'
).
html
(
'<a id="copyTextClosing" class="delete" style="padding-top:0px;"> </a>'
);
$
(
"#copyTextClosing"
).
click
(
closeCopyTextBox
);
$
(
"#copyTextClosing"
).
click
(
closeCopyTextBox
);
$
(
'#bookmarkBoxHdCT'
).
append
(
i18nText
(
'txtTextCopy'
));
$
(
'#bookmarkBoxHdCT'
).
append
(
i18nText
(
'txtTextCopy'
));
//title end
//title end
//lockLayout();
//lockLayout();
...
@@ -2012,12 +2015,12 @@
...
@@ -2012,12 +2015,12 @@
/*event click show dialog search*/
/*event click show dialog search*/
function
showListSearchResult
(){
function
showListSearchResult
(){
$
(
'#txtSearch'
).
keydown
(
function
(
e
){
$
(
'#txtSearch'
).
keydown
(
function
(
e
)
{
if
(
e
.
keyCode
==
13
)
{
if
(
e
.
keyCode
==
13
)
{
searchHandle
();
searchHandle
();
/* display dialog overlay */
/* display dialog overlay */
$
(
"#overlay"
).
show
();
//
$("#overlay").show();
}
}
});
});
}
}
...
@@ -2028,7 +2031,7 @@
...
@@ -2028,7 +2031,7 @@
$
(
'#boxSearching'
).
css
(
'display'
,
'none'
);
$
(
'#boxSearching'
).
css
(
'display'
,
'none'
);
/* unlock dialog overlay */
/* unlock dialog overlay */
$
(
"#overlay"
).
hide
();
//
$("#overlay").hide();
}
}
...
@@ -3182,6 +3185,9 @@ function oldContent_Back(){
...
@@ -3182,6 +3185,9 @@ function oldContent_Back(){
}
}
function
initPage
(){
function
initPage
(){
//$('body,html').animate({ scrollTop: 0 }, 350);
$
(
'#divImageLoading'
).
css
(
'display'
,
'block'
);
$
(
'#divImageLoading'
).
css
(
'display'
,
'block'
);
/* init footer toolbar */
/* init footer toolbar */
...
@@ -3344,8 +3350,16 @@ function oldContent_Back(){
...
@@ -3344,8 +3350,16 @@ function oldContent_Back(){
});
});
}
}
$
(
"document"
).
ready
(
function
()
{
$
(
"document"
).
ready
(
function
()
{
if
(
avwUserEnvObj
.
os
==
'ipad'
)
{
if
(
ClientData
.
IsRefresh
()
==
true
)
{
initPage
();
initPage
();
}
}
else
{
initPage
();
}
});
});
LockScreen
();
LockScreen
();
...
...
abvw/css/viewer.css
View file @
3c754480
...
@@ -67,6 +67,7 @@ header{
...
@@ -67,6 +67,7 @@ header{
width
:
100%
;
width
:
100%
;
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
0
;
left
:
0
;
}
}
.wrapper_header
{
.wrapper_header
{
...
@@ -213,6 +214,7 @@ header{
...
@@ -213,6 +214,7 @@ header{
height
:
60px
;
height
:
60px
;
position
:
fixed
;
position
:
fixed
;
bottom
:
0
;
bottom
:
0
;
}
}
.ftRcolumn_2
{
.ftRcolumn_2
{
...
@@ -227,6 +229,7 @@ header{
...
@@ -227,6 +229,7 @@ header{
height
:
60px
;
height
:
60px
;
position
:
absolute
;
position
:
absolute
;
bottom
:
0
;
bottom
:
0
;
left
:
0
;
}
}
.ftinner
{
.ftinner
{
...
@@ -900,6 +903,14 @@ aside.bookmarkBox li{
...
@@ -900,6 +903,14 @@ aside.bookmarkBox li{
line-height
:
15px
;
line-height
:
15px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
}
}
aside
.bookmarkBox
label
{
padding
:
4px
;
border-bottom
:
solid
1px
#444
;
overflow
:
hidden
;
font-size
:
11px
;
line-height
:
15px
;
vertical-align
:
middle
;
}
aside
.bookmarkBox
li
.imgbox
{
aside
.bookmarkBox
li
.imgbox
{
/*
/*
...
...
abvw/js/SCRCDL0100.js
View file @
3c754480
...
@@ -171,7 +171,9 @@ function contentdetail_dspRead_Click(e) {
...
@@ -171,7 +171,9 @@ function contentdetail_dspRead_Click(e) {
setMetaVersionData
(
outputId
);
setMetaVersionData
(
outputId
);
// Redirect to screen: contentview
// Redirect to screen: contentview
//window.location.href = ScreenIds.ContentView;
//$('body,html').animate({ scrollTop: 0 }, 0);
ClientData
.
IsRefresh
(
false
);
avwScreenMove
(
ScreenIds
.
ContentView
);
avwScreenMove
(
ScreenIds
.
ContentView
);
}
}
...
...
abvw/js/bookmark.js
View file @
3c754480
...
@@ -154,7 +154,7 @@ function dspRead_Click() {
...
@@ -154,7 +154,7 @@ function dspRead_Click() {
ClientData
.
bookmark_contentNo
(
data
.
contentid
);
ClientData
.
bookmark_contentNo
(
data
.
contentid
);
ClientData
.
bookmark_pageNo
(
data
.
pageNo
);
ClientData
.
bookmark_pageNo
(
data
.
pageNo
);
//window.location.href = ScreenIds.ContentView
;
ClientData
.
IsRefresh
(
false
)
;
avwScreenMove
(
ScreenIds
.
ContentView
);
avwScreenMove
(
ScreenIds
.
ContentView
);
}
}
...
...
abvw/js/contentsearch.js
View file @
3c754480
...
@@ -769,7 +769,7 @@ function readSubmenuFunction(e){
...
@@ -769,7 +769,7 @@ function readSubmenuFunction(e){
//Set data for readingcontentid
//Set data for readingcontentid
ClientData
.
ReadingContentIds
(
contentIdArray
);
ClientData
.
ReadingContentIds
(
contentIdArray
);
//window.location = ScreenIds.ContentView
;
ClientData
.
IsRefresh
(
false
)
;
avwScreenMove
(
ScreenIds
.
ContentView
);
avwScreenMove
(
ScreenIds
.
ContentView
);
}
}
...
...
abvw/js/contentview.js
View file @
3c754480
...
@@ -1728,6 +1728,7 @@ function draw(context) {
...
@@ -1728,6 +1728,7 @@ function draw(context) {
var
leftCanvas
=
0
;
var
leftCanvas
=
0
;
var
topCanvas
=
0
;
var
topCanvas
=
0
;
var
count
=
0
/* display to screen */
/* display to screen */
function
flip
()
{
function
flip
()
{
var
canvas
=
document
.
getElementById
(
'main'
);
var
canvas
=
document
.
getElementById
(
'main'
);
...
@@ -1773,6 +1774,13 @@ function flip() {
...
@@ -1773,6 +1774,13 @@ function flip() {
width
=
canvas
.
width
;
width
=
canvas
.
width
;
height
=
width
/
aspect
;
height
=
width
/
aspect
;
}
}
if
(
height
>
canvas
.
height
){
var
size
=
canvas
.
height
/
height
;
height
=
canvas
.
height
;
width
=
width
*
size
;
}
var
destX
=
0
,
destY
=
0
;
var
destX
=
0
,
destY
=
0
;
destX
=
(
canvas
.
width
/
2
)
-
(
width
/
2
);
destX
=
(
canvas
.
width
/
2
)
-
(
width
/
2
);
destY
=
(
canvas
.
height
/
2
)
-
(
height
/
2
);
destY
=
(
canvas
.
height
/
2
)
-
(
height
/
2
);
...
@@ -1821,7 +1829,6 @@ function flip() {
...
@@ -1821,7 +1829,6 @@ function flip() {
context
.
drawImage
(
offscreen
,
context
.
drawImage
(
offscreen
,
srcRect
.
left
,
srcRect
.
top
,
srcRect
.
right
-
srcRect
.
left
,
srcRect
.
bottom
-
srcRect
.
top
,
srcRect
.
left
,
srcRect
.
top
,
srcRect
.
right
-
srcRect
.
left
,
srcRect
.
bottom
-
srcRect
.
top
,
destRect
.
left
,
destRect
.
top
,
width
,
height
);
destRect
.
left
,
destRect
.
top
,
width
,
height
);
context
.
restore
();
context
.
restore
();
};
};
...
@@ -2428,7 +2435,7 @@ function sizingNotFull(width, height) {
...
@@ -2428,7 +2435,7 @@ function sizingNotFull(width, height) {
if
(
isTouchDevice
()
==
true
){
if
(
isTouchDevice
()
==
true
){
$
(
"#main"
)
.
css
(
'top'
,
marginY
);
$
(
"#main"
)
.
css
(
'top'
,
marginY
);
$
(
"#main"
).
attr
(
'height'
,
height
-
(
marginY
*
2
))
$
(
"#main"
).
attr
(
'height'
,
height
-
(
marginY
*
2
))
.
attr
(
'width'
,
width
-
(
marginX
*
3
+
5
));
.
attr
(
'width'
,
width
-
(
marginX
*
2
));
}
else
{
}
else
{
$
(
"#main"
).
attr
(
'height'
,
height
-
(
marginY
*
2
))
$
(
"#main"
).
attr
(
'height'
,
height
-
(
marginY
*
2
))
...
@@ -2445,7 +2452,7 @@ function sizingFullSize(width, height) {
...
@@ -2445,7 +2452,7 @@ function sizingFullSize(width, height) {
if
(
isTouchDevice
()
==
true
){
if
(
isTouchDevice
()
==
true
){
$
(
"#main"
)
.
css
(
'top'
,
'0px'
);
$
(
"#main"
)
.
css
(
'top'
,
'0px'
);
$
(
"#main"
).
attr
(
'height'
,
height
)
$
(
"#main"
).
attr
(
'height'
,
height
)
.
attr
(
'width'
,
width
-
(
marginX
*
3
-
5
));
.
attr
(
'width'
,
width
-
(
marginX
*
2
));
}
else
{
}
else
{
$
(
"#main"
).
attr
(
'height'
,
height
)
$
(
"#main"
).
attr
(
'height'
,
height
)
.
attr
(
'width'
,
width
-
(
marginX
*
2
))
.
attr
(
'width'
,
width
-
(
marginX
*
2
))
...
@@ -2778,4 +2785,18 @@ $(function () {
...
@@ -2778,4 +2785,18 @@ $(function () {
$
(
"#imgHome"
).
click
(
imgHome_click
);
$
(
"#imgHome"
).
click
(
imgHome_click
);
$
(
"#btn_show_memo"
).
click
(
showEditMemo
);
$
(
"#btn_show_memo"
).
click
(
showEditMemo
);
$
(
"#btn_copy_memo"
).
click
(
copyMemo
);
$
(
"#btn_copy_memo"
).
click
(
copyMemo
);
if
(
avwUserEnvObj
.
os
==
'ipad'
)
{
if
(
ClientData
.
IsRefresh
()
!=
true
)
{
$
(
'body, html'
).
hide
();
ClientData
.
IsRefresh
(
true
);
location
.
reload
();
}
else
{
// Skip
}
//$(document).bind('touchmove', function (e) { e.preventDefault(); });
}
});
});
\ No newline at end of file
...
...
abvw/js/header.js
View file @
3c754480
...
@@ -63,11 +63,20 @@ $(document).ready(function () {
...
@@ -63,11 +63,20 @@ $(document).ready(function () {
//$('*').click(handleHeaderSearchBoxEvent);
//$('*').click(handleHeaderSearchBoxEvent);
if
(
isTouchDevice
()
==
false
)
{
$
(
'#searchbox-key'
).
hover
(
searchBoxHoverFunction
,
searchBoxHoverOffFunction
);
$
(
'#searchbox-key'
).
hover
(
searchBoxHoverFunction
,
searchBoxHoverOffFunction
);
$
(
'#header-searchbox'
).
hover
(
searchBoxHoverFunction
,
searchBoxHoverOffFunction
);
$
(
'#header-searchbox'
).
hover
(
searchBoxHoverFunction
,
searchBoxHoverOffFunction
);
}
if
(
isTouchDevice
()
==
true
)
{
var
bodyTag
=
document
.
getElementsByTagName
(
'body'
)[
0
];
bodyTag
.
addEventListener
(
'touchstart'
,
bodyClickFunction
,
false
);
}
else
{
$
(
'body'
).
click
(
bodyClickFunction
);
$
(
'body'
).
click
(
bodyClickFunction
);
}
});
});
function
searchBoxHoverFunction
(){
function
searchBoxHoverFunction
(){
...
@@ -77,28 +86,55 @@ function searchBoxHoverOffFunction() {
...
@@ -77,28 +86,55 @@ function searchBoxHoverOffFunction() {
isHoverOn
=
false
;
isHoverOn
=
false
;
};
};
function
bodyClickFunction
(){
function
bodyClickFunction
(
event
)
{
if
(
!
isHoverOn
){
if
(
isTouchDevice
())
{
// Check mouse is in rectangle of searching panel
if
(
$
(
'#header-searchbox'
).
css
(
'display'
)
!=
"none"
)
{
if
(
event
.
targetTouches
[
0
].
clientX
>=
$
(
'#header-searchbox'
).
position
().
left
&&
event
.
targetTouches
[
0
].
clientX
<=
(
$
(
'#header-searchbox'
).
position
().
left
+
$
(
'#header-searchbox'
).
width
())
&&
event
.
targetTouches
[
0
].
clientY
>=
$
(
'#header-searchbox'
).
position
().
top
&&
event
.
targetTouches
[
0
].
clientY
<=
(
$
(
'#header-searchbox'
).
position
().
top
+
$
(
'#header-searchbox'
).
height
()))
{
isHoverOn
=
true
;
}
else
{
isHoverOn
=
false
;
$
(
'#header-searchbox'
).
hide
();
}
}
}
else
{
if
(
!
isHoverOn
)
{
$
(
'#header-searchbox'
).
hide
();
$
(
'#header-searchbox'
).
hide
();
}
}
}
}
}
function
headerSearchBodyClickFunction
(){
function
headerSearchBodyClickFunction
()
{
$
(
'#searchbox-body'
).
attr
(
'checked'
,
'checked'
);
$
(
'#searchbox-body'
).
attr
(
'checked'
,
'checked'
);
$
(
'#searchbox-tag'
).
removeAttr
(
'checked'
);
$
(
'#searchbox-tag'
).
removeAttr
(
'checked'
);
$
(
'#searchbox-content'
).
removeAttr
(
'checked'
);
$
(
'#searchbox-content'
).
removeAttr
(
'checked'
);
isHoverOn
=
true
;
}
}
function
headerSearchTagClickFunction
(){
function
headerSearchTagClickFunction
()
{
$
(
'#searchbox-tag'
).
attr
(
'checked'
,
'checked'
);
$
(
'#searchbox-tag'
).
attr
(
'checked'
,
'checked'
);
$
(
'#searchbox-body'
).
removeAttr
(
'checked'
);
$
(
'#searchbox-body'
).
removeAttr
(
'checked'
);
$
(
'#searchbox-content'
).
removeAttr
(
'checked'
);
$
(
'#searchbox-content'
).
removeAttr
(
'checked'
);
isHoverOn
=
true
;
}
}
function
headerSearchContentClickFunction
(){
function
headerSearchContentClickFunction
()
{
$
(
'#searchbox-content'
).
attr
(
'checked'
,
'checked'
);
$
(
'#searchbox-content'
).
attr
(
'checked'
,
'checked'
);
$
(
'#searchbox-tag'
).
removeAttr
(
'checked'
);
$
(
'#searchbox-tag'
).
removeAttr
(
'checked'
);
$
(
'#searchbox-body'
).
removeAttr
(
'checked'
);
$
(
'#searchbox-body'
).
removeAttr
(
'checked'
);
isHoverOn
=
true
;
}
}
...
@@ -108,6 +144,7 @@ function headerSearchKeyDownEventFunction(e){
...
@@ -108,6 +144,7 @@ function headerSearchKeyDownEventFunction(e){
if
(
code
==
13
)
{
//Enter keycode
if
(
code
==
13
)
{
//Enter keycode
$
(
'#searchbox-search'
).
click
();
$
(
'#searchbox-search'
).
click
();
}
}
isHoverOn
=
true
;
}
}
//Toggle Search Panel Click function
//Toggle Search Panel Click function
...
...
abvw/js/history.js
View file @
3c754480
...
@@ -649,7 +649,7 @@ function readSubmenuFunction(e){
...
@@ -649,7 +649,7 @@ function readSubmenuFunction(e){
//Set data for readingcontentid
//Set data for readingcontentid
ClientData
.
ReadingContentIds
(
contentIdArray
);
ClientData
.
ReadingContentIds
(
contentIdArray
);
//window.location = ScreenIds.ContentView;
ClientData
.
IsRefresh
(
false
);
avwScreenMove
(
ScreenIds
.
ContentView
);
avwScreenMove
(
ScreenIds
.
ContentView
);
}
}
...
...
abvw/js/home.js
View file @
3c754480
...
@@ -347,6 +347,9 @@ function canvasClickFunction(e) {
...
@@ -347,6 +347,9 @@ function canvasClickFunction(e) {
//Set MetaVersion for content
//Set MetaVersion for content
setMetaVersionData
(
outputId
);
setMetaVersionData
(
outputId
);
//$('body,html').animate({ scrollTop: 0 }, 0);
ClientData
.
IsRefresh
(
false
);
//Go to Conten view page
//Go to Conten view page
avwScreenMove
(
ScreenIds
.
ContentView
);
avwScreenMove
(
ScreenIds
.
ContentView
);
}
}
...
@@ -957,7 +960,8 @@ function readSubmenuFunction(e){
...
@@ -957,7 +960,8 @@ function readSubmenuFunction(e){
//Close Submenu
//Close Submenu
$
(
'#dlgSubMenu'
).
hide
();
$
(
'#dlgSubMenu'
).
hide
();
//window.location = ScreenIds.ContentView;
//$('body,html').animate({ scrollTop: 0 }, 0);
ClientData
.
IsRefresh
(
false
);
avwScreenMove
(
ScreenIds
.
ContentView
);
avwScreenMove
(
ScreenIds
.
ContentView
);
}
}
...
@@ -2265,5 +2269,3 @@ function resizeResourceThumbnail(mg, width, height) {
...
@@ -2265,5 +2269,3 @@ function resizeResourceThumbnail(mg, width, height) {
return
result
;
return
result
;
}
}
\ No newline at end of file
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