; }else{
g_prompt.show("有子接点不能删除",true);
}
}else{
g_prompt.show("请选择要删除的接点");
}
}
bt_save.onclick = function(){
var _o = Global.selectedNode;
if(_o){
//获取文本
var s = "";
var t = _o.text;
switch(_designMode){
case 0:
s = document.frames.fraGeneral.document.documentElement.outerHTML;
break;
case 1:
s = document.getElementById("editBox").innerText;
break;
case 2:
s = document.frames.fraPreview.document.documentElement.outerHTML;
default:
break;
}
//保存文本(dom.js)
if(saveContent(_o.key,t,s)){
g_prompt.show("[" +&nb