git-svn-id: http://xe-core.googlecode.com/svn/trunk@292 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-06 12:49:24 +00:00
parent 5b99985858
commit af50e40164
7 changed files with 38 additions and 45 deletions

View file

@ -5,7 +5,8 @@ function doEditMenuInfo(sel_obj) {
var menu_srl = obj.value;
var win = window.open("./?module=layout&act=dispLayoutMenuInfo&menu_srl="+menu_srl,"_LayoutMenu","toolbars=no,status=no,resizable=no,width=100,height=100");
var url = "./?module=layout&act=dispLayoutMenuInfo&menu_srl="+menu_srl;
var win = window.open(url,"_LayoutMenu","toolbars=no,status=no,resizable=no,width=10,height=10");
win.focus();
}
@ -116,7 +117,7 @@ function doEditMenu(cmd, menu_id, max_depth) {
function getDepth(obj) {
var pl = obj.style.paddingLeft;
if(!pl) return 0;
var depth = parseInt(pl);
var depth = parseInt(pl,10);
return depth/20;
}