提交 3c8b82a7 编写于 作者: C campaign

by zhanyi

上级 8df94c24
......@@ -504,6 +504,11 @@ UE.plugins['table'] = function () {
}
}
if (h == 'h') {
var line;
while (line = me.document.getElementById('ue_tableDragLine')) {
domUtils.remove(line)
}
me.fireEvent('saveScene',true);
var ut = getUETable(target),
cells = ut.getSameEndPosCells(target, "x"),
table = ut.table;
......@@ -517,6 +522,7 @@ UE.plugins['table'] = function () {
cell.setAttribute("width", width);
})
table.setAttribute("width", table.offsetWidth);
me.fireEvent('saveScene',true);
})
}
......@@ -1023,8 +1029,12 @@ UE.plugins['table'] = function () {
startTd = getUETable(startTd).getPreviewCell(startTd, state == 'v');
}
hideDragLine(me);
getDragLine(me, me.document);
var line;
while (line = me.document.getElementById('ue_tableDragLine')) {
domUtils.remove(line)
}
me.fireEvent('saveScene');
getDragLine(me, me.document);
showDragLineAt(state, startTd);
mousedown = true;
//拖动开始
......@@ -1071,9 +1081,12 @@ UE.plugins['table'] = function () {
}
onDrag = "";
dragTd = null;
hideDragLine(me);
var line;
while (line = me.document.getElementById('ue_tableDragLine')) {
domUtils.remove(line)
}
me.fireEvent('saveScene');
me.document.appendChild(line);
return;
}
//正常状态下的mouseup
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册