Commit e0190dc8 by Masaru Abe

console.logのコメント化と例外対応追加

parent 3411759a
...@@ -134,7 +134,6 @@ TEXTOBJECT.getTextObjectImage = function(width, height, htmlData) { ...@@ -134,7 +134,6 @@ TEXTOBJECT.getTextObjectImage = function(width, height, htmlData) {
end: function (tag) { end: function (tag) {
var t = tag.toLowerCase(); var t = tag.toLowerCase();
console.log("the"+t);
/* /*
* Uタグ * Uタグ
*/ */
......
...@@ -6172,7 +6172,7 @@ CONTENTVIEW.getSessionId = function(){ ...@@ -6172,7 +6172,7 @@ CONTENTVIEW.getSessionId = function(){
}; };
CONTENTVIEW.resvCustomLog = function(param1,param2,param3,param4,param5){ CONTENTVIEW.resvCustomLog = function(param1,param2,param3,param4,param5){
console.log("resvCustomLog:" + param1 + "-" + param2); //console.log("resvCustomLog:" + param1 + "-" + param2);
//カスタムログ作成 //カスタムログ作成
var customLog = new CustomLogEntity(); var customLog = new CustomLogEntity();
...@@ -6261,15 +6261,17 @@ CONTENTVIEW.panoLog = function(log, scheme){ ...@@ -6261,15 +6261,17 @@ CONTENTVIEW.panoLog = function(log, scheme){
CONTENTVIEW.receivePanoLog = function(e) { CONTENTVIEW.receivePanoLog = function(e) {
var log = JSON.parse(e.data); try {
var log = JSON.parse(e.data);
if(log.hasOwnProperty('scheme')){ if(log.hasOwnProperty('scheme')){
CONTENTVIEW.panoLog(log, log.scheme);
CONTENTVIEW.panoLog(log, log.scheme); }else{
}else{ CONTENTVIEW.panoContentLink(log.contentId, log.page);
}
} catch(err) {
AVWEB.avwLog(err);
}
CONTENTVIEW.panoContentLink(log.contentId, log.page);
}
}; };
//360コンテンツにhotspotをクリックする時にログを取得する //360コンテンツにhotspotをクリックする時にログを取得する
......
...@@ -217,7 +217,8 @@ SHARE.sendContentShare = function() { ...@@ -217,7 +217,8 @@ SHARE.sendContentShare = function() {
//$(":button:contains('Ok')").prop("disabled", true).addClass("ui-state-disabled"); //$(":button:contains('Ok')").prop("disabled", true).addClass("ui-state-disabled");
} else { } else {
$('#dlgContentShare_error').show();console.log(data.errorMessage); $('#dlgContentShare_error').show();
//console.log(data.errorMessage);
$('#dlgContentShare_error').html(data.errorMessage); $('#dlgContentShare_error').html(data.errorMessage);
} }
}, },
......
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