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
8c278145
Commit
8c278145
authored
Feb 12, 2015
by
Masaru Abe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
暗号化エラー対応
parent
f6096c20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
23 deletions
+21
-23
abvw/js/contentview_FileSystem.js
+21
-23
No files found.
abvw/js/contentview_FileSystem.js
View file @
8c278145
...
...
@@ -405,31 +405,29 @@ CONTENTVIEW_FILESYSTEM.createMovieCache = function(resourceUrl, fileName) {
CONTENTVIEW_FILESYSTEM
.
errorHandler
);
}
}
else
if
(
this
.
readyState
==
2
){
AVWEB
.
avwLog
(
"onreadystatechange:"
+
this
.
readyState
+
" "
+
this
.
status
);
downloadSize
=
xhr
.
getResponseHeader
(
'Content-Length'
);
AVWEB
.
avwLog
(
"Content-Length:"
+
downloadSize
);
AVWEB
.
avwLog
(
"Cachelimit:"
+
AVWEB
.
avwSysSetting
().
movieCacheLimitMB
);
//制限値チェック
if
(
AVWEB
.
avwSysSetting
().
movieCacheLimitMB
==
0
){
//無制限
CONTENTVIEW_FILESYSTEM
.
isXhrBusy
=
true
;
}
else
if
(
this
.
readyState
==
2
){
AVWEB
.
avwLog
(
"onreadystatechange:"
+
this
.
readyState
+
" "
+
this
.
status
);
downloadSize
=
xhr
.
getResponseHeader
(
'Content-Length'
);
AVWEB
.
avwLog
(
"Content-Length:"
+
downloadSize
);
AVWEB
.
avwLog
(
"Cachelimit:"
+
AVWEB
.
avwSysSetting
().
movieCacheLimitMB
);
//制限値チェック
if
(
AVWEB
.
avwSysSetting
().
movieCacheLimitMB
==
0
){
//無制限
CONTENTVIEW_FILESYSTEM
.
isXhrBusy
=
true
;
}
else
{
//制限有り
if
(
downloadSize
&&
downloadSize
>
AVWEB
.
avwSysSetting
().
movieCacheLimitMB
*
COMMON
.
MB_BYTE
){
AVWEB
.
avwLog
(
"CacheLimit abort"
);
xhr
.
abort
();
}
else
{
//制限有り
if
(
downloadSize
&&
downloadSize
>
AVWEB
.
avwSysSetting
().
movieCacheLimitMB
*
COMMON
.
MB_BYTE
){
AVWEB
.
avwLog
(
"CacheLimit abort"
);
xhr
.
abort
();
}
else
{
CONTENTVIEW_FILESYSTEM
.
isXhrBusy
=
true
;
}
}
if
(
CONTENTVIEW_FILESYSTEM
.
isXhrBusy
){
$
(
'#divCacheLoading'
).
css
(
'z-index'
,
'99999'
);
$
(
'#divCacheLoading'
).
css
(
'display'
,
'block'
);
CONTENTVIEW_FILESYSTEM
.
isXhrBusy
=
true
;
}
}
if
(
CONTENTVIEW_FILESYSTEM
.
isXhrBusy
){
$
(
'#divCacheLoading'
).
css
(
'z-index'
,
'99999'
);
$
(
'#divCacheLoading'
).
css
(
'display'
,
'block'
);
}
//AVWEB.avwLog("onreadystatechange:" + this.readyState + " " + this.status);
}
...
...
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