Tweaked size of HLine dialog and removed 'dump(element)' that gives and error, preventing insert link from working

This commit is contained in:
cmanske%netscape.com 1999-06-23 21:24:49 +00:00
parent 58597a5b7c
commit 7e8b37648c
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
<?xml-stylesheet href="chrome://editordlgs/skin/EditorDialog.css" type="text/css"?>
<!DOCTYPE window>
<!-- dialog containing a control requiring initial setup -->
<xul:window width="280" height="285" title="Horizontal Line Properties"
<xul:window width="250" height="275" title="Horizontal Line Properties"
xmlns:xul ="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns="http://www.w3.org/TR/REC-html40"
onload = "Startup()">
@ -63,7 +63,7 @@
<table width="95%"> <!-- WIDTH SHOULD BE 100%, BUT BUG PREVENTS THAT -->
<tr>
<td>
<button class="spaced" id="Advanced" onclick="onAdvanced()">Advanced Attributes</button>
<button class="spaced" id="Advanced" onclick="onAdvanced()">More Attributes...</button>
</td>
<td align="right">
<button class="spaced" id="OK" onclick="onOK()">OK</button>

View File

@ -137,7 +137,7 @@ function onOK()
// Set the HREF directly on the editor document's anchor node
// or on the newly-created node if insertNew is true
dump(anchorElement + "\n");
// dump(anchorElement + "\n");
anchorElement.setAttribute("href",dialog.hrefInput.value);
// Get text to use for a new link