This commit is contained in:
hyatt%netscape.com 2002-08-06 08:51:34 +00:00
Родитель 38e9dc5329
Коммит 783101a52e
2 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -198,6 +198,9 @@ var dropObserver = {
var enclosure = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
"toolbarpaletteitem");
if (paletteItem.getAttribute("flex"))
enclosure.setAttribute("flex", paletteItem.getAttribute("flex"));
enclosure.setAttribute("ondraggesture", "gDraggingFromPalette = false; nsDragAndDrop.startDrag(event, dragObserver)");
cleanUpItemForAdding(paletteItem);
enclosure.appendChild(paletteItem);

Просмотреть файл

@ -38,7 +38,7 @@
onload="buildDialog()"
ondialogaccept="updateToolbar()"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
width="700" height="420">
width="700" height="440">
<script type="application/x-javascript" src="chrome://browser/content/customizeToolbar.js"/>
<script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"/>