Commit 6d47e7ef by Masaru Abe

ログ出力コメント化

parent bf3812af
...@@ -1144,7 +1144,7 @@ function changePage(page_index) { ...@@ -1144,7 +1144,7 @@ function changePage(page_index) {
function(file){ function(file){
var reader = new FileReader(); var reader = new FileReader();
reader.onloadend = function(e) { reader.onloadend = function(e) {
AVWEB.avwLog("read FileSystem"); //AVWEB.avwLog("read FileSystem");
pageImages = e.target.result; pageImages = e.target.result;
/* get page Objects */ /* get page Objects */
...@@ -1161,7 +1161,7 @@ function changePage(page_index) { ...@@ -1161,7 +1161,7 @@ function changePage(page_index) {
); );
}, },
function(err){ // 失敗時のコールバック関数 function(err){ // 失敗時のコールバック関数
AVWEB.avwLog("NotRead FileSystem"); //AVWEB.avwLog("NotRead FileSystem");
avwGrabContentPageImage( avwGrabContentPageImage(
ClientData.userInfo_accountPath(), ClientData.userInfo_accountPath(),
{ contentId: contentID, sid: ClientData.userInfo_sid(), pageNo: page_index + 1 }, { contentId: contentID, sid: ClientData.userInfo_sid(), pageNo: page_index + 1 },
...@@ -2156,7 +2156,7 @@ function changePageWithoutSlide(pageMove) { ...@@ -2156,7 +2156,7 @@ function changePageWithoutSlide(pageMove) {
function(file){ function(file){
var reader = new FileReader(); var reader = new FileReader();
reader.onloadend = function(e) { reader.onloadend = function(e) {
AVWEB.avwLog("read FileSystem"); //AVWEB.avwLog("read FileSystem");
pageImages = e.target.result; pageImages = e.target.result;
/* get page Objects */ /* get page Objects */
...@@ -2199,7 +2199,7 @@ function changePageWithoutSlide(pageMove) { ...@@ -2199,7 +2199,7 @@ function changePageWithoutSlide(pageMove) {
); );
}, },
function(err){ // 失敗時のコールバック関数 function(err){ // 失敗時のコールバック関数
AVWEB.avwLog("NotRead FileSystem"); //AVWEB.avwLog("NotRead FileSystem");
avwGrabContentPageImage( avwGrabContentPageImage(
ClientData.userInfo_accountPath(), ClientData.userInfo_accountPath(),
{ contentId: contentID, sid: ClientData.userInfo_sid(), pageNo: pageMove + 1 }, { contentId: contentID, sid: ClientData.userInfo_sid(), pageNo: pageMove + 1 },
......
...@@ -408,7 +408,7 @@ function firstPage_click() { ...@@ -408,7 +408,7 @@ function firstPage_click() {
function(file){ function(file){
var reader = new FileReader(); var reader = new FileReader();
reader.onloadend = function(e) { reader.onloadend = function(e) {
AVWEB.avwLog("read FileSystem"); //AVWEB.avwLog("read FileSystem");
pageImages = e.target.result; pageImages = e.target.result;
/* get page Objects */ /* get page Objects */
...@@ -429,7 +429,7 @@ function firstPage_click() { ...@@ -429,7 +429,7 @@ function firstPage_click() {
); );
}, },
function(err){ // 失敗時のコールバック関数 function(err){ // 失敗時のコールバック関数
AVWEB.avwLog("NotRead FileSystem"); //AVWEB.avwLog("NotRead FileSystem");
avwGrabContentPageImage( avwGrabContentPageImage(
ClientData.userInfo_accountPath(), ClientData.userInfo_accountPath(),
{ contentId: contentID, sid: ClientData.userInfo_sid(), pageNo: 1 }, { contentId: contentID, sid: ClientData.userInfo_sid(), pageNo: 1 },
...@@ -537,7 +537,7 @@ function lastPage_click() { ...@@ -537,7 +537,7 @@ function lastPage_click() {
function(file){ function(file){
var reader = new FileReader(); var reader = new FileReader();
reader.onloadend = function(e) { reader.onloadend = function(e) {
AVWEB.avwLog("read FileSystem"); //AVWEB.avwLog("read FileSystem");
pageImages = e.target.result; pageImages = e.target.result;
/* get page Objects */ /* get page Objects */
...@@ -556,7 +556,7 @@ function lastPage_click() { ...@@ -556,7 +556,7 @@ function lastPage_click() {
); );
}, },
function(err){ // 失敗時のコールバック関数 function(err){ // 失敗時のコールバック関数
AVWEB.avwLog("NotRead FileSystem"); //AVWEB.avwLog("NotRead FileSystem");
avwGrabContentPageImage( avwGrabContentPageImage(
ClientData.userInfo_accountPath(), ClientData.userInfo_accountPath(),
{ contentId: contentID, sid: ClientData.userInfo_sid(), pageNo: totalPage }, { contentId: contentID, sid: ClientData.userInfo_sid(), pageNo: totalPage },
...@@ -1494,7 +1494,7 @@ function resetNaviAction(){ ...@@ -1494,7 +1494,7 @@ function resetNaviAction(){
function onTouchstart(evt){ function onTouchstart(evt){
AVWEB.avwLog("onTouchstart _isClick:" + _isClick); //AVWEB.avwLog("onTouchstart _isClick:" + _isClick);
//evt.preventDefault(); //evt.preventDefault();
if(ClientData.IsAddingMarking() == true){ if(ClientData.IsAddingMarking() == true){
...@@ -1729,7 +1729,7 @@ var isPreventClick = false; ...@@ -1729,7 +1729,7 @@ var isPreventClick = false;
function onTouchmove(evt){ function onTouchmove(evt){
AVWEB.avwLog("onTouchmove isClick:" + _isClick); //AVWEB.avwLog("onTouchmove isClick:" + _isClick);
//evt.preventDefault(); //evt.preventDefault();
if(ClientData.IsAddingMarking() == true){ if(ClientData.IsAddingMarking() == true){
...@@ -2012,8 +2012,7 @@ function onTouchmove(evt){ ...@@ -2012,8 +2012,7 @@ function onTouchmove(evt){
function onTouchend(evt){ function onTouchend(evt){
AVWEB.avwLog("onTouchend isClick:" + _isClick); //AVWEB.avwLog("onTouchend isClick:" + _isClick);
//evt.preventDefault(); //evt.preventDefault();
if(ClientData.IsAddingMarking() == true){ if(ClientData.IsAddingMarking() == true){
......
...@@ -71,10 +71,10 @@ CONTENTVIEW_FILESYSTEM.savePageFile = function(contentId, fileName, data) { ...@@ -71,10 +71,10 @@ CONTENTVIEW_FILESYSTEM.savePageFile = function(contentId, fileName, data) {
fileEntry.createWriter( fileEntry.createWriter(
function(fileWriter) { function(fileWriter) {
fileWriter.onwriteend = function(e) { fileWriter.onwriteend = function(e) {
AVWEB.avwLog('書き込み完了'); //AVWEB.avwLog('書き込み完了');
}; };
fileWriter.onerror = function(e) { fileWriter.onerror = function(e) {
AVWEB.avwLog('書き込みエラー: ' + e.toString()); //AVWEB.avwLog('書き込みエラー: ' + e.toString());
}; };
var blobData = new Blob([data], {type:"text/plain"}); var blobData = new Blob([data], {type:"text/plain"});
fileWriter.write(blobData); fileWriter.write(blobData);
...@@ -103,7 +103,7 @@ CONTENTVIEW_FILESYSTEM.deleteContentDir = function(contentId) { ...@@ -103,7 +103,7 @@ CONTENTVIEW_FILESYSTEM.deleteContentDir = function(contentId) {
function(dirEntry) { function(dirEntry) {
dirEntry.removeRecursively( dirEntry.removeRecursively(
function() { function() {
AVWEB.avwLog('Directory removed. id=' + contentId); //AVWEB.avwLog('Directory removed. id=' + contentId);
}, },
CONTENTVIEW_FILESYSTEM.errorHandler CONTENTVIEW_FILESYSTEM.errorHandler
); );
...@@ -136,15 +136,15 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) { ...@@ -136,15 +136,15 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) {
function(file){ function(file){
var reader = new FileReader(); var reader = new FileReader();
reader.onloadend = function(e) { reader.onloadend = function(e) {
AVWEB.avwLog("read Json.txt"); //AVWEB.avwLog("read Json.txt");
//JSONに戻す //JSONに戻す
var jsonObjOld = JSON.parse(e.target.result); var jsonObjOld = JSON.parse(e.target.result);
//配信日時比較 //配信日時比較
AVWEB.avwLog("OLD:" + jsonObjOld.contentData.lastDeliveryDate); //AVWEB.avwLog("OLD:" + jsonObjOld.contentData.lastDeliveryDate);
AVWEB.avwLog("NEW:" + data.contentData.lastDeliveryDate); //AVWEB.avwLog("NEW:" + data.contentData.lastDeliveryDate);
if( jsonObjOld.contentData.lastDeliveryDate != data.contentData.lastDeliveryDate ){ if( jsonObjOld.contentData.lastDeliveryDate != data.contentData.lastDeliveryDate ){
AVWEB.avwLog("Update Content."); //AVWEB.avwLog("Update Content.");
//ディレクトリ消し //ディレクトリ消し
CONTENTVIEW_FILESYSTEM.fs.root.getDirectory( CONTENTVIEW_FILESYSTEM.fs.root.getDirectory(
...@@ -153,7 +153,7 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) { ...@@ -153,7 +153,7 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) {
function(dirEntry) { function(dirEntry) {
dirEntry.removeRecursively( dirEntry.removeRecursively(
function() { function() {
AVWEB.avwLog('Directory removed. id=' + contentId); //AVWEB.avwLog('Directory removed. id=' + contentId);
//再度書き込み //再度書き込み
CONTENTVIEW_FILESYSTEM.fs.root.getDirectory( CONTENTVIEW_FILESYSTEM.fs.root.getDirectory(
...@@ -168,7 +168,7 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) { ...@@ -168,7 +168,7 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) {
fileEntry.createWriter( fileEntry.createWriter(
function(fileWriter) { function(fileWriter) {
fileWriter.onwriteend = function(e) { fileWriter.onwriteend = function(e) {
AVWEB.avwLog('JSON書き込み完了'); //AVWEB.avwLog('JSON書き込み完了');
//おまじない ajaxカウントをインクリする必要有り //おまじない ajaxカウントをインクリする必要有り
nAjaxLoad++; nAjaxLoad++;
...@@ -179,7 +179,7 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) { ...@@ -179,7 +179,7 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) {
}; };
fileWriter.onerror = function(e) { fileWriter.onerror = function(e) {
AVWEB.avwLog('JSON書き込みエラー: ' + e.toString()); //AVWEB.avwLog('JSON書き込みエラー: ' + e.toString());
}; };
var blobData = new Blob([window.JSON.stringify(data)], {type:"text/plain"}); var blobData = new Blob([window.JSON.stringify(data)], {type:"text/plain"});
fileWriter.write(blobData); fileWriter.write(blobData);
...@@ -217,7 +217,7 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) { ...@@ -217,7 +217,7 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) {
); );
}, },
function(err){ // 失敗時のコールバック関数 function(err){ // 失敗時のコールバック関数
AVWEB.avwLog("NotRead json.txt"); //AVWEB.avwLog("NotRead json.txt");
//書き込む パス作成 //書き込む パス作成
//var path = "/abook/" + contentId + "/" + fileName; //var path = "/abook/" + contentId + "/" + fileName;
...@@ -233,7 +233,7 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) { ...@@ -233,7 +233,7 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) {
fileEntry.createWriter( fileEntry.createWriter(
function(fileWriter) { function(fileWriter) {
fileWriter.onwriteend = function(e) { fileWriter.onwriteend = function(e) {
AVWEB.avwLog('JSON書き込み完了'); //AVWEB.avwLog('JSON書き込み完了');
//おまじない ajaxカウントをインクリする必要有り //おまじない ajaxカウントをインクリする必要有り
nAjaxLoad++; nAjaxLoad++;
...@@ -244,7 +244,7 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) { ...@@ -244,7 +244,7 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) {
}; };
fileWriter.onerror = function(e) { fileWriter.onerror = function(e) {
AVWEB.avwLog('JSON書き込みエラー: ' + e.toString()); //AVWEB.avwLog('JSON書き込みエラー: ' + e.toString());
}; };
var blobData = new Blob([window.JSON.stringify(data)], {type:"text/plain"}); var blobData = new Blob([window.JSON.stringify(data)], {type:"text/plain"});
fileWriter.write(blobData); fileWriter.write(blobData);
...@@ -266,7 +266,7 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) { ...@@ -266,7 +266,7 @@ CONTENTVIEW_FILESYSTEM.checkUpdate = function(contentId, data, func) {
CONTENTVIEW_FILESYSTEM.showVideoObjectCache = function(x, y, width, height, src, isFullscreen, contentId, resourceId ){ CONTENTVIEW_FILESYSTEM.showVideoObjectCache = function(x, y, width, height, src, isFullscreen, contentId, resourceId ){
AVWEB.avwLog('CONTENTVIEW_FILESYSTEM.showVideoObjectCache'); //AVWEB.avwLog('CONTENTVIEW_FILESYSTEM.showVideoObjectCache');
if (!CONTENTVIEW_FILESYSTEM.fs) { if (!CONTENTVIEW_FILESYSTEM.fs) {
//AVWEB.avwLog('CONTENTVIEW_FILESYSTEM.fs is null. id=' + contentId); //AVWEB.avwLog('CONTENTVIEW_FILESYSTEM.fs is null. id=' + contentId);
...@@ -280,7 +280,7 @@ CONTENTVIEW_FILESYSTEM.showVideoObjectCache = function(x, y, width, height, src, ...@@ -280,7 +280,7 @@ CONTENTVIEW_FILESYSTEM.showVideoObjectCache = function(x, y, width, height, src,
function(fileEntry){ function(fileEntry){
fileEntry.file( fileEntry.file(
function(file){ function(file){
AVWEB.avwLog("read cache"); //AVWEB.avwLog("read cache");
var url = window.URL || window.webkitURL; var url = window.URL || window.webkitURL;
var resSrc = url.createObjectURL(file); var resSrc = url.createObjectURL(file);
showVideoObject(x, y, width, height, resSrc, isFullscreen, false); showVideoObject(x, y, width, height, resSrc, isFullscreen, false);
...@@ -288,7 +288,7 @@ CONTENTVIEW_FILESYSTEM.showVideoObjectCache = function(x, y, width, height, src, ...@@ -288,7 +288,7 @@ CONTENTVIEW_FILESYSTEM.showVideoObjectCache = function(x, y, width, height, src,
); );
}, },
function(err){ // 失敗時のコールバック関数 function(err){ // 失敗時のコールバック関数
AVWEB.avwLog("NotRead FileSystem"); //AVWEB.avwLog("NotRead FileSystem");
//キャッシュ化 //キャッシュ化
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
...@@ -299,7 +299,7 @@ CONTENTVIEW_FILESYSTEM.showVideoObjectCache = function(x, y, width, height, src, ...@@ -299,7 +299,7 @@ CONTENTVIEW_FILESYSTEM.showVideoObjectCache = function(x, y, width, height, src,
$('#divImageLoading').css('display', 'none'); $('#divImageLoading').css('display', 'none');
//this.response is what you're looking for //this.response is what you're looking for
AVWEB.avwLog(this.response, typeof this.response); //AVWEB.avwLog(this.response, typeof this.response);
CONTENTVIEW_FILESYSTEM.fs.root.getFile( CONTENTVIEW_FILESYSTEM.fs.root.getFile(
'/abook/' + fileName, '/abook/' + fileName,
...@@ -308,10 +308,10 @@ CONTENTVIEW_FILESYSTEM.showVideoObjectCache = function(x, y, width, height, src, ...@@ -308,10 +308,10 @@ CONTENTVIEW_FILESYSTEM.showVideoObjectCache = function(x, y, width, height, src,
fileEntry.createWriter( fileEntry.createWriter(
function(fileWriter) { function(fileWriter) {
fileWriter.onwriteend = function(e) { fileWriter.onwriteend = function(e) {
AVWEB.avwLog('RES書き込み完了'); //AVWEB.avwLog('RES書き込み完了');
}; };
fileWriter.onerror = function(e) { fileWriter.onerror = function(e) {
AVWEB.avwLog('RES書き込みエラー: ' + e.toString()); //AVWEB.avwLog('RES書き込みエラー: ' + e.toString());
}; };
var blobData = new Blob([xhr.response], {type:"application/octet-stream"}); var blobData = new Blob([xhr.response], {type:"application/octet-stream"});
...@@ -326,7 +326,7 @@ CONTENTVIEW_FILESYSTEM.showVideoObjectCache = function(x, y, width, height, src, ...@@ -326,7 +326,7 @@ CONTENTVIEW_FILESYSTEM.showVideoObjectCache = function(x, y, width, height, src,
} else { } else {
if( this.readyState == 2 ){ if( this.readyState == 2 ){
AVWEB.avwLog("onreadystatechange:" + this.readyState + " " + this.status); //AVWEB.avwLog("onreadystatechange:" + this.readyState + " " + this.status);
$('#divImageLoading').css('display', 'block'); $('#divImageLoading').css('display', 'block');
CONTENTVIEW_FILESYSTEM.isXhrBusy = true; CONTENTVIEW_FILESYSTEM.isXhrBusy = true;
} }
...@@ -338,7 +338,7 @@ CONTENTVIEW_FILESYSTEM.showVideoObjectCache = function(x, y, width, height, src, ...@@ -338,7 +338,7 @@ CONTENTVIEW_FILESYSTEM.showVideoObjectCache = function(x, y, width, height, src,
xhr.responseType = 'blob'; xhr.responseType = 'blob';
xhr.send(); xhr.send();
} else { } else {
AVWEB.avwLog("xhr is busy."); //AVWEB.avwLog("xhr is busy.");
} }
//タグは書き出し //タグは書き出し
...@@ -373,7 +373,7 @@ CONTENTVIEW_FILESYSTEM.errorHandler = function(e) { ...@@ -373,7 +373,7 @@ CONTENTVIEW_FILESYSTEM.errorHandler = function(e) {
break; break;
}; };
//CONTENTVIEW_FILESYSTEM.fs = null; //CONTENTVIEW_FILESYSTEM.fs = null;
AVWEB.avwLog('FileSystemAPI Error: ' + msg); //AVWEB.avwLog('FileSystemAPI Error: ' + msg);
alert('FileSystemAPI Error: ' + msg); alert('FileSystemAPI Error: ' + msg);
}; };
...@@ -1300,7 +1300,7 @@ function renderNextPage(){ ...@@ -1300,7 +1300,7 @@ function renderNextPage(){
function(file){ function(file){
var reader = new FileReader(); var reader = new FileReader();
reader.onloadend = function(e) { reader.onloadend = function(e) {
AVWEB.avwLog("read FileSystem"); //AVWEB.avwLog("read FileSystem");
nextPageImage = e.target.result; nextPageImage = e.target.result;
nextContent.setPageImages(totalPage, nextPageImage) nextContent.setPageImages(totalPage, nextPageImage)
...@@ -1313,7 +1313,7 @@ function renderNextPage(){ ...@@ -1313,7 +1313,7 @@ function renderNextPage(){
); );
}, },
function(err){ // 失敗時のコールバック関数 function(err){ // 失敗時のコールバック関数
AVWEB.avwLog("NotRead FileSystem"); //AVWEB.avwLog("NotRead FileSystem");
avwGrabContentPageImage( avwGrabContentPageImage(
ClientData.userInfo_accountPath(), ClientData.userInfo_accountPath(),
{ contentId: contentID, sid: ClientData.userInfo_sid(), pageNo: pageNo }, { contentId: contentID, sid: ClientData.userInfo_sid(), pageNo: pageNo },
...@@ -1379,7 +1379,7 @@ function renderPrevPage(){ ...@@ -1379,7 +1379,7 @@ function renderPrevPage(){
function(file){ function(file){
var reader = new FileReader(); var reader = new FileReader();
reader.onloadend = function(e) { reader.onloadend = function(e) {
AVWEB.avwLog("read FileSystem"); //AVWEB.avwLog("read FileSystem");
prevPageImage = e.target.result; prevPageImage = e.target.result;
prevContent.setPageImages(totalPage, prevPageImage) prevContent.setPageImages(totalPage, prevPageImage)
...@@ -1392,7 +1392,7 @@ function renderPrevPage(){ ...@@ -1392,7 +1392,7 @@ function renderPrevPage(){
); );
}, },
function(err){ // 失敗時のコールバック関数 function(err){ // 失敗時のコールバック関数
AVWEB.avwLog("NotRead FileSystem"); //AVWEB.avwLog("NotRead FileSystem");
avwGrabContentPageImage(ClientData.userInfo_accountPath(), avwGrabContentPageImage(ClientData.userInfo_accountPath(),
{ contentId: contentID, sid: ClientData.userInfo_sid(), pageNo: pageNo }, { contentId: contentID, sid: ClientData.userInfo_sid(), pageNo: pageNo },
function (data) { function (data) {
......
...@@ -645,7 +645,7 @@ function initPageMediaAndHtmlType(){ ...@@ -645,7 +645,7 @@ function initPageMediaAndHtmlType(){
function(file){ function(file){
var url = window.URL || window.webkitURL; var url = window.URL || window.webkitURL;
var resSrc = url.createObjectURL(file); var resSrc = url.createObjectURL(file);
AVWEB.avwLog("read cache: createObjectURL " + resSrc); //AVWEB.avwLog("read cache: createObjectURL " + resSrc);
displayOverlayForSpecifyContentType(resSrc); displayOverlayForSpecifyContentType(resSrc);
...@@ -653,7 +653,7 @@ function initPageMediaAndHtmlType(){ ...@@ -653,7 +653,7 @@ function initPageMediaAndHtmlType(){
); );
}, },
function(err){ // 失敗時のコールバック関数 function(err){ // 失敗時のコールバック関数
AVWEB.avwLog("NotRead FileSystem"); //AVWEB.avwLog("NotRead FileSystem");
//キャッシュ化 //キャッシュ化
var xhr = new XMLHttpRequest(); var xhr = new XMLHttpRequest();
...@@ -664,7 +664,7 @@ function initPageMediaAndHtmlType(){ ...@@ -664,7 +664,7 @@ function initPageMediaAndHtmlType(){
$('#divImageLoading').css('display', 'none'); $('#divImageLoading').css('display', 'none');
//this.response is what you're looking for //this.response is what you're looking for
AVWEB.avwLog(this.response, typeof this.response); //AVWEB.avwLog(this.response, typeof this.response);
CONTENTVIEW_FILESYSTEM.fs.root.getFile( CONTENTVIEW_FILESYSTEM.fs.root.getFile(
'/abook/' + fileName, '/abook/' + fileName,
{create: true}, {create: true},
...@@ -672,10 +672,10 @@ function initPageMediaAndHtmlType(){ ...@@ -672,10 +672,10 @@ function initPageMediaAndHtmlType(){
fileEntry.createWriter( fileEntry.createWriter(
function(fileWriter) { function(fileWriter) {
fileWriter.onwriteend = function(e) { fileWriter.onwriteend = function(e) {
AVWEB.avwLog('RES書き込み完了'); //AVWEB.avwLog('RES書き込み完了');
}; };
fileWriter.onerror = function(e) { fileWriter.onerror = function(e) {
AVWEB.avwLog('RES書き込みエラー: ' + e.toString()); //AVWEB.avwLog('RES書き込みエラー: ' + e.toString());
}; };
var blobData = new Blob([xhr.response], {type:"application/octet-stream"}); var blobData = new Blob([xhr.response], {type:"application/octet-stream"});
...@@ -689,7 +689,7 @@ function initPageMediaAndHtmlType(){ ...@@ -689,7 +689,7 @@ function initPageMediaAndHtmlType(){
} else { } else {
if( this.readyState == 2 ){ if( this.readyState == 2 ){
AVWEB.avwLog("onreadystatechange:" + this.readyState + " " + this.status); //AVWEB.avwLog("onreadystatechange:" + this.readyState + " " + this.status);
CONTENTVIEW_FILESYSTEM.isXhrBusy = true; CONTENTVIEW_FILESYSTEM.isXhrBusy = true;
$('#divImageLoading').css('z-index', '99999'); $('#divImageLoading').css('z-index', '99999');
$('#divImageLoading').css('display', 'block'); $('#divImageLoading').css('display', 'block');
...@@ -704,7 +704,7 @@ function initPageMediaAndHtmlType(){ ...@@ -704,7 +704,7 @@ function initPageMediaAndHtmlType(){
xhr.responseType = 'blob'; xhr.responseType = 'blob';
xhr.send(); xhr.send();
} else { } else {
AVWEB.avwLog("xhr is busy."); //AVWEB.avwLog("xhr is busy.");
} }
//タグは書き出し //タグは書き出し
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment