Bug 270798 ASSERTION: getElementById(""), fix caller?: '!aId.IsEmpty()' @onLocationFound

r=silver
This commit is contained in:
timeless%mozdev.org 2006-02-13 21:10:06 +00:00
parent 898f671892
commit c2ab340980

View File

@ -1632,7 +1632,8 @@ function vmgr_dewdropinn (sourceView, targetView, direction)
var dest = new Object();
dest.windowId = parsedTarget.windowId;
dest.containerId = destContainer.getAttribute ("id");
dest.before = destBefore ? destBefore.getAttribute("id") : null;
if (destBefore)
dest.before = destBefore.getAttribute("id");
this.moveView(dest, sourceView.viewId);
this.endMultiMove();