Commit 2850e4cb by Kim Eunchul

#31600 【Biz Web 1.9.0】フォームを透明にした後にスライドを開くと透明になっている

parent 3d591981
...@@ -15,6 +15,8 @@ CONTENTVIEW_ANKET.showAnket = function(url, fullscreen, objectId) { ...@@ -15,6 +15,8 @@ CONTENTVIEW_ANKET.showAnket = function(url, fullscreen, objectId) {
var width = fullscreen == true ? canvas.width : 340; var width = fullscreen == true ? canvas.width : 340;
var anketCommandsKey = canvas.getAttribute('anket-commands');
if (fullscreen == true) { if (fullscreen == true) {
$container.attr('style', 'width:' + width + 'px; left:10px;right:auto;'); $container.attr('style', 'width:' + width + 'px; left:10px;right:auto;');
} }
...@@ -22,6 +24,15 @@ CONTENTVIEW_ANKET.showAnket = function(url, fullscreen, objectId) { ...@@ -22,6 +24,15 @@ CONTENTVIEW_ANKET.showAnket = function(url, fullscreen, objectId) {
$container.attr('style', 'width:' + width + 'px; right:10px;left:auto;'); // !important $container.attr('style', 'width:' + width + 'px; right:10px;left:auto;'); // !important
} }
if(anketCommandsKey == 'anket-transparent'){
$('#dialog,#dialog iframe,#anket-commands,#anket-commands input').removeClass('anket-opacity anket-transparent anket-translucent anket-transparent-content').addClass('anket-transparent');
$('#anket-container').removeClass('anket-opacity anket-transparent anket-translucent anket-transparent-content').addClass('anket-transparent-content');
}else if(anketCommandsKey == 'anket-translucent'){
$('#dialog,#dialog iframe,#anket-commands,#anket-commands input,#anket-container').removeClass('anket-opacity anket-transparent anket-translucent anket-transparent-content').addClass('anket-translucent');
}else if(anketCommandsKey == 'anket-opacity'){
$('#dialog,#dialog iframe,#anket-commands,#anket-commands input,#anket-container').removeClass('anket-opacity anket-transparent anket-translucent anket-transparent-content').addClass('anket-opacity');
}
$container.draggable({ handle: "h1" }); $container.draggable({ handle: "h1" });
$container.html( $container.html(
'<h1>'+I18N.i18nText('txtEnqueteTitle') '<h1>'+I18N.i18nText('txtEnqueteTitle')
...@@ -43,6 +54,8 @@ CONTENTVIEW_ANKET.showAnket = function(url, fullscreen, objectId) { ...@@ -43,6 +54,8 @@ CONTENTVIEW_ANKET.showAnket = function(url, fullscreen, objectId) {
$container.removeAttr('style'); $container.removeAttr('style');
CONTENTVIEW_GENERAL.hideDialog(); CONTENTVIEW_GENERAL.hideDialog();
//dialog透明解除
$('#dialog,#dialog iframe,#anket-commands,#anket-commands input,#anket-container').removeClass('anket-opacity anket-transparent anket-translucent anket-transparent-content');
return false; return false;
}, },
...@@ -84,16 +97,19 @@ CONTENTVIEW_ANKET.showAnket = function(url, fullscreen, objectId) { ...@@ -84,16 +97,19 @@ CONTENTVIEW_ANKET.showAnket = function(url, fullscreen, objectId) {
//set transparent //set transparent
$('#dialog,#dialog iframe,#anket-commands,#anket-commands input').removeClass('anket-opacity anket-transparent anket-translucent anket-transparent-content').addClass('anket-transparent'); $('#dialog,#dialog iframe,#anket-commands,#anket-commands input').removeClass('anket-opacity anket-transparent anket-translucent anket-transparent-content').addClass('anket-transparent');
$('#anket-container').removeClass('anket-opacity anket-transparent anket-translucent anket-transparent-content').addClass('anket-transparent-content'); $('#anket-container').removeClass('anket-opacity anket-transparent anket-translucent anket-transparent-content').addClass('anket-transparent-content');
canvas.setAttribute('anket-commands','anket-transparent');
} }
else if ($(this).index() == 1) { else if ($(this).index() == 1) {
// set translucent // set translucent
//END TRB00092 - EDITOR: Long - Date: 09/26/2013 - Summary : Fix opacity //END TRB00092 - EDITOR: Long - Date: 09/26/2013 - Summary : Fix opacity
$('#dialog,#dialog iframe,#anket-commands,#anket-commands input,#anket-container').removeClass('anket-opacity anket-transparent anket-translucent anket-transparent-content').addClass('anket-translucent'); $('#dialog,#dialog iframe,#anket-commands,#anket-commands input,#anket-container').removeClass('anket-opacity anket-transparent anket-translucent anket-transparent-content').addClass('anket-translucent');
canvas.setAttribute('anket-commands','anket-translucent');
} }
else { else {
//set opacity //set opacity
$('#dialog,#dialog iframe,#anket-commands,#anket-commands input,#anket-container').removeClass('anket-opacity anket-transparent anket-translucent anket-transparent-content').addClass('anket-opacity'); $('#dialog,#dialog iframe,#anket-commands,#anket-commands input,#anket-container').removeClass('anket-opacity anket-transparent anket-translucent anket-transparent-content').addClass('anket-opacity');
canvas.setAttribute('anket-commands','anket-opacity');
} }
} }
); );
......
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