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
7d170bd5
Commit
7d170bd5
authored
Jul 17, 2024
by
Kang Donghun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
セミコロン対応
parent
4b3d4390
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
48 additions
and
48 deletions
+48
-48
abvw/common/js/avweb.js
+3
-3
abvw/common/js/common.js
+2
-2
abvw/common/js/jquery.toastmessage.js
+2
-2
abvw/common/js/jquery.treeview.js
+1
-1
abvw/common/js/scrolltopcontrol.js
+29
-29
abvw/js/contentview_Events.js
+1
-1
abvw/js/contentview_GetData.js
+1
-1
abvw/js/header.js
+2
-2
abvw/js/stview.js
+1
-1
abweb/common/js/constant.js
+1
-1
abweb/js/agreementToTerms/agreementToTerms.js
+1
-1
abweb/js/reportList/reportList.js
+3
-3
abweb/js/setting/settings.js
+1
-1
No files found.
abvw/common/js/avweb.js
View file @
7d170bd5
...
...
@@ -397,7 +397,7 @@ AVWEB.avwCheckLogin = function(option) {
var
returnPage
;
if
(
option
)
{
returnPage
=
option
returnPage
=
option
;
}
else
{
var
sysSetting
=
AVWEB
.
avwSysSetting
();
returnPage
=
sysSetting
.
loginPage
;
...
...
@@ -639,7 +639,7 @@ AVWEB.avwGrabContentPageImage = function(accountPath, params, success, error) {
var
apiUrl
;
apiUrl
=
ClientData
.
conf_apiUrl
();
//sysSettings.apiUrl;
if
(
accountPath
)
{
apiUrl
=
AVWEB
.
format
(
apiUrl
,
accountPath
)
apiUrl
=
AVWEB
.
format
(
apiUrl
,
accountPath
)
;
}
apiUrl
=
apiUrl
+
'/'
+
apiName
+
'/'
;
...
...
@@ -750,7 +750,7 @@ AVWEB.avwUploadBackupFile = function(accountPath, params, async, success, error)
var
apiUrl
;
apiUrl
=
ClientData
.
conf_apiUrl
();
//sysSettings.apiUrl;
if
(
accountPath
)
{
apiUrl
=
AVWEB
.
format
(
apiUrl
,
accountPath
)
apiUrl
=
AVWEB
.
format
(
apiUrl
,
accountPath
)
;
}
apiUrl
=
apiUrl
+
'/'
+
apiName
+
'/'
;
...
...
abvw/common/js/common.js
View file @
7d170bd5
...
...
@@ -2138,7 +2138,7 @@ var ValidationUtil = {
list
[
i
]
=
c
;
}
var
count
=
list
.
length
;
return
count
return
count
;
},
// Special character: *
IsCharacterSpecial
:
function
(
value
)
{
...
...
@@ -3029,7 +3029,7 @@ COMMON.getBytes = function(value) {
count
=
(
count
/
3
)
*
2
+
tmp
;
}
else
{
count
=
escapedStr
.
length
count
=
escapedStr
.
length
;
}
return
count
;
};
...
...
abvw/common/js/jquery.toastmessage.js
View file @
7d170bd5
...
...
@@ -101,7 +101,7 @@
else
if
(
localSettings
.
messages
)
{
toastItemInner
=
$
(
'<div></div>'
).
hide
().
addClass
(
'toast-item'
).
appendTo
(
toastWrapAll
).
animate
(
localSettings
.
inEffect
,
localSettings
.
inEffectDuration
);
toastItemClose
=
$
(
'<div></div>'
).
addClass
(
'toast-item-close'
).
prependTo
(
toastItemInner
).
html
(
localSettings
.
closeText
).
click
(
function
()
{
$
().
toastmessage
(
'removeToast'
,
toastItemInner
,
localSettings
)
});
toastItemClose
=
$
(
'<div></div>'
).
addClass
(
'toast-item-close'
).
prependTo
(
toastItemInner
).
html
(
localSettings
.
closeText
).
click
(
function
()
{
$
().
toastmessage
(
'removeToast'
,
toastItemInner
,
localSettings
)
;
});
for
(
var
nIndexMsg
=
0
;
nIndexMsg
<
localSettings
.
messages
.
length
;
nIndexMsg
++
)
{
// Add each message to display
...
...
@@ -111,7 +111,7 @@
else
{
// Single message -> Same to old method
toastItemInner
=
$
(
'<div></div>'
).
hide
().
addClass
(
'toast-item toast-type-'
+
localSettings
.
type
).
appendTo
(
toastWrapAll
).
html
(
$
(
'<p>'
).
append
(
localSettings
.
text
)).
animate
(
localSettings
.
inEffect
,
localSettings
.
inEffectDuration
).
wrap
(
toastItemOuter
);
toastItemClose
=
$
(
'<div></div>'
).
addClass
(
'toast-item-close'
).
prependTo
(
toastItemInner
).
html
(
localSettings
.
closeText
).
click
(
function
()
{
$
().
toastmessage
(
'removeToast'
,
toastItemInner
,
localSettings
)
});
toastItemClose
=
$
(
'<div></div>'
).
addClass
(
'toast-item-close'
).
prependTo
(
toastItemInner
).
html
(
localSettings
.
closeText
).
click
(
function
()
{
$
().
toastmessage
(
'removeToast'
,
toastItemInner
,
localSettings
)
;
});
toastItemImage
=
$
(
'<div></div>'
).
addClass
(
'toast-item-image'
).
addClass
(
'toast-item-image-'
+
localSettings
.
type
).
prependTo
(
toastItemInner
);
}
...
...
abvw/common/js/jquery.treeview.js
View file @
7d170bd5
...
...
@@ -94,7 +94,7 @@
classes
+=
this
+
"-hitarea "
;
});
$
(
this
).
addClass
(
classes
);
})
})
;
}
// apply event to hitarea
...
...
abvw/common/js/scrolltopcontrol.js
View file @
7d170bd5
...
...
@@ -17,59 +17,59 @@ var scrolltotop={
scrollup
:
function
(){
if
(
!
this
.
cssfixedsupport
)
//if control is positioned using JavaScript
this
.
$control
.
css
({
opacity
:
0
})
//hide control immediately after clicking it
var
dest
=
isNaN
(
this
.
setting
.
scrollto
)?
this
.
setting
.
scrollto
:
parseInt
(
this
.
setting
.
scrollto
)
this
.
$control
.
css
({
opacity
:
0
})
;
//hide control immediately after clicking it
var
dest
=
isNaN
(
this
.
setting
.
scrollto
)?
this
.
setting
.
scrollto
:
parseInt
(
this
.
setting
.
scrollto
)
;
if
(
typeof
dest
==
"string"
&&
jQuery
(
'#'
+
dest
).
length
==
1
)
//check element set by string exists
dest
=
jQuery
(
'#'
+
dest
).
offset
().
top
dest
=
jQuery
(
'#'
+
dest
).
offset
().
top
;
else
dest
=
0
dest
=
0
;
this
.
$body
.
animate
({
scrollTop
:
dest
},
this
.
setting
.
scrollduration
);
},
keepfixed
:
function
(){
var
$window
=
jQuery
(
window
)
var
controlx
=
$window
.
scrollLeft
()
+
$window
.
width
()
-
this
.
$control
.
width
()
-
this
.
controlattrs
.
offsetx
var
controly
=
$window
.
scrollTop
()
+
$window
.
height
()
-
this
.
$control
.
height
()
-
this
.
controlattrs
.
offsety
this
.
$control
.
css
({
left
:
controlx
+
'px'
,
top
:
controly
+
'px'
})
var
$window
=
jQuery
(
window
)
;
var
controlx
=
$window
.
scrollLeft
()
+
$window
.
width
()
-
this
.
$control
.
width
()
-
this
.
controlattrs
.
offsetx
;
var
controly
=
$window
.
scrollTop
()
+
$window
.
height
()
-
this
.
$control
.
height
()
-
this
.
controlattrs
.
offsety
;
this
.
$control
.
css
({
left
:
controlx
+
'px'
,
top
:
controly
+
'px'
})
;
},
togglecontrol
:
function
(){
var
scrolltop
=
jQuery
(
window
).
scrollTop
()
var
scrolltop
=
jQuery
(
window
).
scrollTop
()
;
if
(
!
this
.
cssfixedsupport
)
this
.
keepfixed
()
this
.
state
.
shouldvisible
=
(
scrolltop
>=
this
.
setting
.
startline
)?
true
:
false
this
.
keepfixed
()
;
this
.
state
.
shouldvisible
=
(
scrolltop
>=
this
.
setting
.
startline
)?
true
:
false
;
if
(
this
.
state
.
shouldvisible
&&
!
this
.
state
.
isvisible
){
this
.
$control
.
stop
().
animate
({
opacity
:
1
},
this
.
setting
.
fadeduration
[
0
])
this
.
state
.
isvisible
=
true
this
.
$control
.
stop
().
animate
({
opacity
:
1
},
this
.
setting
.
fadeduration
[
0
])
;
this
.
state
.
isvisible
=
true
;
}
else
if
(
this
.
state
.
shouldvisible
==
false
&&
this
.
state
.
isvisible
){
this
.
$control
.
stop
().
animate
({
opacity
:
0
},
this
.
setting
.
fadeduration
[
1
])
this
.
state
.
isvisible
=
false
this
.
$control
.
stop
().
animate
({
opacity
:
0
},
this
.
setting
.
fadeduration
[
1
])
;
this
.
state
.
isvisible
=
false
;
}
},
init
:
function
(){
jQuery
(
document
).
ready
(
function
(
$
){
var
mainobj
=
scrolltotop
var
iebrws
=
document
.
all
mainobj
.
cssfixedsupport
=!
iebrws
||
iebrws
&&
document
.
compatMode
==
"CSS1Compat"
&&
window
.
XMLHttpRequest
//not IE or IE7+ browsers in standards mode
mainobj
.
$body
=
(
window
.
opera
)?
(
document
.
compatMode
==
"CSS1Compat"
?
$
(
'html'
)
:
$
(
'body'
))
:
$
(
'html,body'
)
var
mainobj
=
scrolltotop
;
var
iebrws
=
document
.
all
;
mainobj
.
cssfixedsupport
=!
iebrws
||
iebrws
&&
document
.
compatMode
==
"CSS1Compat"
&&
window
.
XMLHttpRequest
;
//not IE or IE7+ browsers in standards mode
mainobj
.
$body
=
(
window
.
opera
)?
(
document
.
compatMode
==
"CSS1Compat"
?
$
(
'html'
)
:
$
(
'body'
))
:
$
(
'html,body'
)
;
mainobj
.
$control
=
$
(
'<div id="topcontrol">'
+
mainobj
.
controlHTML
+
'</div>'
)
.
css
({
position
:
mainobj
.
cssfixedsupport
?
'fixed'
:
'absolute'
,
bottom
:
mainobj
.
controlattrs
.
offsety
,
right
:
mainobj
.
controlattrs
.
offsetx
,
opacity
:
0
,
cursor
:
'pointer'
})
//.attr({title:'Scroll Back to Top'})
.
click
(
function
(){
mainobj
.
scrollup
();
return
false
})
.
appendTo
(
'body'
)
.
click
(
function
(){
mainobj
.
scrollup
();
return
false
;
})
.
appendTo
(
'body'
)
;
if
(
document
.
all
&&
!
window
.
XMLHttpRequest
&&
mainobj
.
$control
.
text
()
!=
''
)
//loose check for IE6 and below, plus whether control contains any text
mainobj
.
$control
.
css
({
width
:
mainobj
.
$control
.
width
()})
//IE6- seems to require an explicit width on a DIV containing text
mainobj
.
togglecontrol
()
mainobj
.
$control
.
css
({
width
:
mainobj
.
$control
.
width
()})
;
//IE6- seems to require an explicit width on a DIV containing text
mainobj
.
togglecontrol
()
;
$
(
'a[href="'
+
mainobj
.
anchorkeyword
+
'"]'
).
click
(
function
(){
mainobj
.
scrollup
()
return
false
})
mainobj
.
scrollup
()
;
return
false
;
})
;
$
(
window
).
bind
(
'scroll resize'
,
function
(
e
){
mainobj
.
togglecontrol
()
})
})
mainobj
.
togglecontrol
()
;
})
;
})
;
}
};
...
...
abvw/js/contentview_Events.js
View file @
7d170bd5
...
...
@@ -233,7 +233,7 @@ CONTENTVIEW_EVENTS.showCopyText = function(e) {
$
(
"#overlay"
).
show
();
var
array
=
[
e
.
pageX
,
e
.
pageY
];
var
contentPage
=
CONTENTVIEW_GENERAL
.
dataWebContentPage
.
pages
;
CONTENTVIEW
.
handleCopyTextData
(
contentPage
,
array
)
CONTENTVIEW
.
handleCopyTextData
(
contentPage
,
array
)
;
}
};
...
...
abvw/js/contentview_GetData.js
View file @
7d170bd5
...
...
@@ -1049,7 +1049,7 @@ CONTENTVIEW_GETDATA.getBookmarklist = function(pos) {
$
(
"#divListBookmark"
).
offset
({
left
:
pos
[
0
],
top
:
(
pos
[
1
]
+
$
(
'#bookmarkBoxHdBM'
).
height
())
});
}
else
{
CONTENTVIEW
.
handleAPIWebContentPage
(
CONTENTVIEW_GENERAL
.
dataWebContentPage
,
pos
)
CONTENTVIEW
.
handleAPIWebContentPage
(
CONTENTVIEW_GENERAL
.
dataWebContentPage
,
pos
)
;
}
};
...
...
abvw/js/header.js
View file @
7d170bd5
...
...
@@ -654,7 +654,7 @@ HEADER.DoBackup = function(isBackupMarking, isBackupMemo, isBackupBookmark,isLog
$
(
'#divResultMessage .toast-item-loading'
).
hide
();
// active close toast button
$
(
'.toast-item-close'
).
click
(
function
()
{
$
().
toastmessage
(
'removeToast'
,
$
(
'#divResultMessage'
),
null
)
});
$
(
'.toast-item-close'
).
click
(
function
()
{
$
().
toastmessage
(
'removeToast'
,
$
(
'#divResultMessage'
),
null
)
;
});
if
(
isLogout
)
{
$
(
'.toast-position-middle-center'
).
css
(
'width'
,
'500px'
);
...
...
@@ -1128,7 +1128,7 @@ HEADER.downloadResourceById = function(contentId){
if
(
HEADER
.
isSafariNotOnIpad
())
{
window
.
onbeforeunload
=
null
;
window
.
open
(
resourceUrl
,
"_self"
);
// open url to download file on safari not for ipad
var
toogleTime
=
setTimeout
(
function
()
{
COMMON
.
ToogleLogoutNortice
()
},
200
);
var
toogleTime
=
setTimeout
(
function
()
{
COMMON
.
ToogleLogoutNortice
()
;
},
200
);
}
else
{
window
.
open
(
resourceUrl
);
//open url to download file on orther browser
...
...
abvw/js/stview.js
View file @
7d170bd5
...
...
@@ -181,7 +181,7 @@ STVIEW.ready = function(){
//ページ番号指定有り
if
(
page
==
""
||
page
==
"0"
||
page
==
"1"
){
ClientData
.
common_prePageNo
(
null
)
ClientData
.
common_prePageNo
(
null
)
;
}
else
{
ClientData
.
common_prePageNo
(
page
);
}
...
...
abweb/common/js/constant.js
View file @
7d170bd5
...
...
@@ -3,7 +3,7 @@
*
* @since 1.4.3.2 & 1.4.3.3 & 1.4.3.4
*/
const
CONSTANT
=
{};
var
CONSTANT
=
{};
CONSTANT
.
DEVICE_TYPE
=
{
WEB
:
4
,
...
...
abweb/js/agreementToTerms/agreementToTerms.js
View file @
7d170bd5
...
...
@@ -92,7 +92,7 @@ agreementToTerms.agreeTerm = function(){
COMMON
.
showAlert
(
"errorOccured"
);
}
}
)
)
;
};
//利用規約に同意しない
...
...
abweb/js/reportList/reportList.js
View file @
7d170bd5
...
...
@@ -18,7 +18,7 @@
COMMON
.
checkQuickReport
(
function
(
result
)
{
if
(
result
)
{
RL
.
isQuickReport
=
result
.
isQuickReport
;
}
;
}
});
RL
.
loadCommon
();
RL
.
initTaskReportList
();
...
...
@@ -52,7 +52,7 @@
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_LIST
,
},
]
]
;
}
else
{
if
(
sessionStorage
.
getItem
(
"pickUpType"
))
sessionStorage
.
removeItem
(
"pickUpType"
);
navs
=
[
...
...
@@ -63,7 +63,7 @@
{
titleLang
:
CONSTANT
.
PAGE_NAME
.
REPORT_LIST
,
},
]
]
;
}
TEMPLATE
.
loadMainNavsTitle
(
'#includedMainTitle'
,
CONSTANT
.
PAGE_NAME
.
REPORT_LIST
,
navs
,
RL
.
loadMainTitleCallback
);
};
...
...
abweb/js/setting/settings.js
View file @
7d170bd5
...
...
@@ -187,7 +187,7 @@ SETTINGS.initScreen = function () {
{
titleLang
:
'accountSetting'
,
},
]
]
;
TEMPLATE
.
loadMainNavsTitle
(
'#includedMainTitle'
,
'accountSetting'
,
navs
,
null
);
// Login ID
$
(
'#txtLoginId'
).
text
(
ClientData
.
userInfo_loginId_session
());
...
...
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