修复点confirm事件编辑器的输入文本不消失的bug
This commit is contained in:
parent
1f221a1600
commit
1c45bfee3f
@ -181,4 +181,5 @@ fs.readdir(path, callback)
|
||||
|
||||
目前主体部分使用了 0-15,75,100
|
||||
|
||||
blockly使用 200 ,多行文本编辑器使用 300
|
||||
blockly使用 200,201
|
||||
多行文本编辑器使用 300
|
||||
@ -336,8 +336,21 @@ editor_blockly.import = function(id_){
|
||||
return true;
|
||||
}
|
||||
|
||||
editor_blockly.show = function(){document.getElementById('left6').style='';}
|
||||
editor_blockly.hide = function(){document.getElementById('left6').style='z-index:-1;opacity: 0;';}
|
||||
var blocklyWidgetDiv = document.getElementsByClassName('blocklyWidgetDiv');
|
||||
editor_blockly.show = function(){
|
||||
document.getElementById('left6').style='';
|
||||
for(var ii =0,node;node=blocklyWidgetDiv[ii];ii++){
|
||||
node.style.zIndex = 201;
|
||||
node.style.opacity = '';
|
||||
}
|
||||
}
|
||||
editor_blockly.hide = function(){
|
||||
document.getElementById('left6').style='z-index:-1;opacity: 0;';
|
||||
for(var ii =0,node;node=blocklyWidgetDiv[ii];ii++){
|
||||
node.style.zIndex = -1;
|
||||
node.style.opacity = 0;
|
||||
}
|
||||
}
|
||||
|
||||
editor_blockly.cancel = function(){
|
||||
editor_blockly.id='';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user