Commit 0d554839 by Masaru Abe

IE9でアクションボタンが消える対応

parent cf8f27d7
......@@ -400,6 +400,7 @@ CONTENTVIEW_CREATEOBJECT.PageObject.prototype.drawPageObject = function (context
/* push to array */
CONTENTVIEW_GENERAL.arrImage.push(objTemp);
var isSetTimeout = false;
if (mediaType == '2') {/* media */
img.width = 50;
img.height = 50;
......@@ -440,15 +441,20 @@ CONTENTVIEW_CREATEOBJECT.PageObject.prototype.drawPageObject = function (context
else {
if ( $.browser.msie && $.browser.version == 9) {
//ブラウザがIE9となっている場合対応する
isSetTimeout = true;
setTimeout(function(){
context.drawImage(img, x, y, w, h);
context.drawImage(img, x, y, w, h);
CONTENTVIEW.flip(opt);
},100);
} else {
context.drawImage(img, x, y, w, h);
context.drawImage(img, x, y, w, h);
}
}
CONTENTVIEW.flip(opt);
//ブラウザがIE9となっている場合対応する
if(!isSetTimeout){
CONTENTVIEW.flip(opt);
}
//console.log("CONTENTVIEW_GENERAL.nCountObjectLoad:" + opt + " "+ CONTENTVIEW_GENERAL.nCountObjectLoad[opt] + " nObjectCnt:" + nObjectCnt);
if (CONTENTVIEW_GENERAL.nCountObjectLoad[opt] >= nObjectCnt) {
......
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