dhtml openPopup 사용시 modal 셋팅
/**
* Popup Open
*/
function cm_openPopup(id, url, width, height, title, x, y){
//--debugger
console.log("## id : "+id);
if(!dhxWins.isWindow(id)){
if(x == "" || x == null || typeof x == "undefined"){
if(y == "" || y == null){
w1 = dhxWins.createWindow(id, 10, 10, width, height);
dhxWins.window(id).setModal(true);
}else{
w1 = dhxWins.createWindow(id, 10, y, width, height);
dhxWins.window(id).setModal(true);
}
}else{
if(y == "" || y == null || typeof y == "undefined"){
w1 = dhxWins.createWindow(id, x, 10, width, height);
dhxWins.window(id).setModal(true);
}else{
w1 = dhxWins.createWindow(id, x, y, width, height);
dhxWins.window(id).setModal(true);
}
}
w1.setText(title);
w1.attachURL("../"+url);
}
}