Closed
Bug 151310
Opened 23 years ago
Closed 14 years ago
moving item between columns? netscape4.77:yes, mozilla:no
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: troy.d.goodson, Unassigned)
References
()
Details
Attachments
(2 files)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.1a) Gecko/20020610
BuildID: 2002061014
The HTML code in "Additional Information" is from a web page internal to JPL.
It consists of three columns and the intent is that you can move data back and
forth between the left-most column and the right-most column. When you click
the appropriate button, the data moves to the intended column, however, it is
not deleted from the current column.
I've tried this in Netscape Navigator 4.77 for Mac OS 9 and in Mozilla build ID
2002061014. The data moves properly from column to column in Nav 4.77, but not
in Mozilla.
Reproducible: Always
Steps to Reproduce:
1. copy the code in "additional information" to a file, say "test.html"
2. load this file via Mozilla
you'll see three columns. the right-most column has the string "User
Information" repeated three times in that column.
you'll also see three buttons next to the left & right columns. The bottom
button is the "move selection to other column" button"
3. select an entry from the right-most column
4. there are three buttons to the right of the right-most column, press the
bottom-most button of those three. you'll see "user information" appear in the
left-most column.
5. heres' the problem: "User Information" did not disappear from the right-most
column. There's still three instances of it; there should only be two.
Actual Results: "User Information" did not disappear from the right-most
column. There's still three instances of it; there should only be two.
Expected Results: "User Information" should disappear from the right-most
column. If you repeat the given steps with Netscape Navigator 4.77, you'll get
the expected results.
<!--
Copyright 02/17/00 Sun Microsystems, Inc. All Rights Reserved.
"@(#)layout3Template.html
1.23 00/02/17 Sun Microsystems"
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<!--
Copyright 03/20/00 Sun Microsystems, Inc. All Rights Reserved.
"@(#)noCache.html
1.2 00/03/20 Sun Microsystems"
-->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="Mon, 01 Jan 1990 12:00:00 GMT">
<meta http-equiv="Cache-control" content="no-cache">
<meta http-equiv="Cache-control" content="must-revalidate">
<meta http-equiv="Cache-control" content="max-age=0">
<title>Inside JPL 1.0</title>
</head>
<body BGCOLOR="#FFFFFF">
<!--
Copyright %G% Sun Microsystems, Inc. All Rights Reserved.
""@(#)openFrontPage.js Sun Microsystems"
-->
<script LANGUAGE=JavaScript>
function openFrontPage( ) {
var url = "/DesktopServlet";
var fullurl = document.URL;
targeturl = fullurl.split( "/DesktopServlet" )[0];
adjustedUrl = targeturl + url;
location = adjustedUrl;
}
</SCRIPT>
<!--
@(#)%M% %I% %G% Sun Microsystems
Copyright 2000 Sun Microsystems, Inc. All rights reserved.
PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
-->
<script LANGUAGE=JAVASCRIPT>
function arrangeContentProvider( direction, columnID ) {
if(columnID == 1) column = "one";
else if(columnID == 2) column = "two";
else if(columnID == 3) column = "three";
else if (columnID == 98) column = "fulltop";
else if (columnID == 99) column = "fullbottom";
selection = document.layoutForm[column].selectedIndex;
if (selection != -1) {
oText = document.layoutForm[column].options[selection].text;
oValue = document.layoutForm[column].options[selection].value;
if (selection > 0 && direction == 0) {
document.layoutForm[column].options[selection].text =
document.layoutForm[column].options[selection-1].text;
document.layoutForm[column].options[selection].value =
document.layoutForm[column].options[selection-1].value;
document.layoutForm[column].options[selection-1].text = oText;
document.layoutForm[column].options[selection-1].value = oValue;
document.layoutForm[column].selectedIndex--;
}
else if (selection < document.layoutForm[column].length-1 && direction == 1) {
document.layoutForm[column].options[selection].text =
document.layoutForm[column].options[selection+1].text;
document.layoutForm[column].options[selection].value =
document.layoutForm[column].options[selection+1].value;
document.layoutForm[column].options[selection+1].text = oText;
document.layoutForm[column].options[selection+1].value = oValue;
document.layoutForm[column].selectedIndex++;
}
}
else alert("Please select a channel."); return false;
}
</script> <!--
Copyright %G% Sun Microsystems, Inc. All Rights Reserved.
"%W% %E% Sun Microsystems"
-->
<script LANGUAGE=JavaScript>
function performSubstitution() {
document.layoutForm["temp1"].value = performColumnSubstitution("one");
document.layoutForm["temp2"].value = performColumnSubstitution("two");
document.layoutForm["temp3"].value = performColumnSubstitution("three");
return true;
}
</script>
<!--
Copyright %G% Sun Microsystems, Inc. All Rights Reserved.
"%W% %E% Sun Microsystems"
-->
<script LANGUAGE=JavaScript>
function performColumnSubstitution(column) {
val = "";
for (i=0;i<document.layoutForm[column].length;i++) {
if (i!=0) val += ",";
val += document.layoutForm[column].options[i].value;
} return val;
}
</script>
<!--
Copyright %G% Sun Microsystems, Inc. All Rights Reserved.
"%W% %E% Sun Microsystems"
-->
<script LANGUAGE=JavaScript>
function selectAll(){
if (document.layoutForm["one"] != null) {
for( var i=0; i < document.layoutForm["one"].length; i++ ){
document.layoutForm["one"].options[i].selected = true;
}
}
if (document.layoutForm["two"] != null) {
for( var i=0; i < document.layoutForm["two"].length; i++ ){
document.layoutForm["two"].options[i].selected = true;
}
}
if (document.layoutForm["three"] != null) {
for( var i=0; i < document.layoutForm["three"].length; i++ ){
document.layoutForm["three"].options[i].selected = true;
}
}
}
</SCRIPT>
<!--
Copyright 04/13/00 Sun Microsystems, Inc. All Rights Reserved.
"@(#)switchColumns.js
1.3 00/04/13 Sun Microsystems"
-->
<script LANGUAGE=JAVASCRIPT>
function switchColumns( sourceColumnID, destinationColumnID ) {
if(sourceColumnID == 1) sourceColumn = "one";
else if(sourceColumnID == 2) sourceColumn = "two";
else if(sourceColumnID == 3) sourceColumn = "three";
if(destinationColumnID == 1) destinationColumn = "one";
else if(destinationColumnID == 2) destinationColumn = "two";
else if(destinationColumnID == 3) destinationColumn = "three";
selection = document.layoutForm[sourceColumn].selectedIndex;
if (selection != -1) {
oText = document.layoutForm[sourceColumn].options[selection].text;
oValue = document.layoutForm[sourceColumn].options[selection].value;
destinationLength = document.layoutForm[destinationColumn].length;
document.layoutForm[destinationColumn].options[destinationLength] = new
Option(oText, oValue, false, false);
document.layoutForm[destinationColumn].selectedIndex =
document.layoutForm[destinationColumn].length;
document.layoutForm[sourceColumn].options[selection] = null;
document.layoutForm[sourceColumn].selectedIndex--;
}
else alert("Please select a channel."); return false;
}
</script>
<!--
Copyright 12/09/99 Sun Microsystems, Inc. All Rights Reserved.
"@(#)style.html
1.1 99/12/09 Sun Microsystems"
-->
<style><!--
.nonuw {text-decoration: none;
color: #FFFFFF;}
.blacklink {text-decoration: none;
color:#FFFFFF;}
A:link { color : #000099}
TD { font-family: arial, helvetica, sans-serif }
--></STYLE>
<center>
<form ACTION="/DesktopServlet" METHOD=POST NAME="frontPageAddForm"
ENCTYPE="application/x-www-form-urlencoded">
<!-- Table of Two Top Navigation Elements Begin -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td background="images/jpl_navBar_back.gif"><img
src="images/round_corner.gif" width="78" height="19" border="0" alt="Round
Corner"></td>
<td background="images/jpl_navBar_back.gif" align="center"><img
src="images/jpl_navBar_middle.gif" width="522" height="19" border="0"
usemap="#jpl_navBar_middle" alt=""></td>
<td bgcolor="#000000">
</td>
</tr>
<tr>
<td background="images/nasa_back.gif"><img
src="images/nasa_meatball.gif" width="78" height="67" border="0" usemap="#bMap"
alt="NASA Website"></td>
<td background="images/inside_jpl_back.gif" align="center"><img
src="images/bann_mid_rev.gif" width="522" height="67" border="0" alt=""></td>
<td bgcolor="#003399" valign="center" align="left" nowrap>
<form METHOD="get" ACTION="http://google1.jpl.nasa.gov:7800/search"
NAME="SearchForm">
<font face="Arial, Helvetica, Geneva" size="-1">
<input maxLength="256" size="15" name="q">
<font face="Arial, Helvetica, Geneva" size="-1">
<input type="hidden" name="webServeTestProduction" value="Test
Production Index">
<input type="hidden" name="client" value="jpl">
<input type="hidden" name="proxystylesheet" value="jpl">
<input type="hidden" name="output" value="xml_no_dtd">
<input type="hidden" name="site" value="jpl">
<input type="submit" value="Search JPL" name="btnG">
</font><br>
<a
href="http://google1.jpl.nasa.gov:7800/search?webServeTestProduction=Test+Production+Index&client=jpl&proxystylesheet=jpl&output=xml_no_dtd&site=jpl&num=&start=&as_q=&proxycustom=<ADVANCED/>">
<font face="Arial, Helvetica, Geneva" size="-1" color="#FFFFFF">Advanced
Search</a></font> <font size="-1" color="#FFFFFF">| <a
href="http://google1.jpl.nasa.gov:7800/user_help.html"><font face="Arial,
Helvetica, Geneva" size="-1" color="#FFFFFF">Hints</a></font></form>
</td>
</tr>
</table>
<!-- Table of Two Top Navigation Elements End -->
<!-- Image Map Definitions Begin -->
<map name="jpl_navBar_middle">
<area shape="rect" coords="423,2,518,17" href="http://www.jpl.nasa.gov">
<area shape="rect" coords="328,2,409,18" href="http://rules.jpl.nasa.gov">
<area shape="rect" coords="230,2,318,19" href="http://dailyplanet.jpl.nasa.gov">
<area shape="rect" coords="141,2,218,18" href="http://insidejpl.jpl.nasa.gov:8080">
</map>
<map name="bMap">
<area alt="National Aeronautics and Space Administration Website"
coords="6,4,70,62" href="http://www.nasa.gov">
<area alt="Jet Propulsion Laboratory Website" coords="3,29,175,50"
href="http://www.jpl.nasa.gov/">
<area alt="California Institute of Technology Website"
coords="10,51,173,66" href="http://www.caltech.edu/">
</map>
<!-- Image Map Definitions End -->
</body>
</html>
<!--
Copyright 02/02/00 Sun Microsystems, Inc. All Rights Reserved.
"@(#)menubar.html
1.3 00/02/02 Sun Microsystems"
-->
<table BORDER="0" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<tr BGCOLOR="#000000">
<td ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP>
<font COLOR="#FFFFFF"
FACE="Sans-serif">
<script LANGUAGE="JavaScript">
<!--Hide JavaScript from Java-Impaired Browsers
function initArray() {
for(i=0;i<initArray.arguments.length; i++)
this[i] = initArray.arguments[i];
}
var isnMonths=new
initArray("January","February","March","April","May","June","July","August","September","October","November","December");
var isnDays= new
initArray("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday",
"Saturday","Sunday");
today=new Date();
hrs=today.getHours();
min=today.getMinutes();
sec=today.getSeconds();
clckh=""+((hrs>12)?hrs-12:hrs);
clckm=((min<10)?"0":"")+min;
clcks=((sec<10)?"0":"")+sec;
clck=(hrs>=12)?"p.m.":"a.m.";
// fixes a Netscape 2 and 3 bug
function getFullYear(d) { // d is a date object
yr = d.getYear();
if (yr < 1000)
yr+=1900;
return yr;
}
document.write(" <B>"+isnDays[today.getDay()]+",
"+isnMonths[today.getMonth()]+" "+today.getDate()+", "+getFullYear(today)+"</B>");
// End hiding -->
</SCRIPT>
</font>
</td>
<td ALIGN="MIDDLE" VALIGN="MIDDLE">
<a HREF="mailto:insidejpladmin@list.jpl.nasa.gov">
<font COLOR="#FFFFFF" FACE="Sans-serif"SIZE="+0" CLASS="nonuw">Contact the
Webmaster</font></a>
</td>
<td ALIGN="RIGHT" VALIGN="MIDDLE" NOWRAP>
<p ALIGN="RIGHT">
<font COLOR="#FFFFFF" FACE="Sans-serif" SIZE="+0">
<a HREF="#" onClick="window.open
('http://RemedyOps.jpl.nasa.gov/ars-central/cgi-bin/km_beta_portal.cgi','Remedy','HEIGHT=600,WIDTH=950')">
<font COLOR="#FFFFFF" CLASS="nonuw">Report A Problem</font></a> |
<a HREF="/DesktopServlet?action=content&provider=iwtFrontProvider">
<font COLOR="#FFFFFF" CLASS="nonuw">Home</font></a> |
<!--
<A HREF="/DesktopServlet?action=edit&provider=iwtOptionsProvider">
<FONT COLOR="#FFFFFF" CLASS="nonuw">Options</FONT></A> |
-->
<a HREF="/DesktopServlet?action=edit&provider=iwtContentProvider">
<font COLOR="#FFFFFF" CLASS="nonuw">Content</font></a> |
<a HREF="/DesktopServlet?action=edit&provider=iwtLayoutProvider">
<font COLOR="#FFFFFF" CLASS="nonuw">Layout</font></a> |
<a HREF="/docs/en_US/online_help/user_help/desktop/help_pages/toc.html"
target="wthelp" onClick="javascript: var helpWin =
window.open('/docs/en_US/online_help/user_help/desktop/help_pages/toc.html',
'wthelp',
'width=600,height=400,hotkeys=no,status=no,resizable=yes,scrollbars=yes,toolbar=yes');
helpWin.focus();return false;"><font COLOR="#FFFFFF" CLASS="nonuw">Help</font></a> |
<!--
<A HREF="/DesktopServlet?action=logout">
-->
<a HREF="/logout">
<font COLOR="#FFFFFF" CLASS="nonuw">
<b>Log Out</b>
</font></a>
</font>
</p>
</td>
</tr>
</table>
</form>
<form ACTION="/DesktopServlet" METHOD=POST NAME="layoutForm"
ONSUBMIT="selectAll()" ENCTYPE="application/x-www-form-urlencoded">
<input TYPE=HIDDEN NAME="action" SIZE=-1 VALUE="process">
<input TYPE=HIDDEN NAME="provider" SIZE=-1 VALUE="iwtLayoutProvider">
<input TYPE=HIDDEN NAME="layoutID" VALUE="3">
<input TYPE=HIDDEN NAME="temp1" VALUE="">
<input TYPE=HIDDEN NAME="temp2" VALUE="">
<input TYPE=HIDDEN NAME="temp3" VALUE="">
<table BORDER="1" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<tr>
<td ALIGN="CENTER">
<center><p>
<table BORDER="0" CELLPADDING="2" CELLSPACING="0" WIDTH="100%">
<tr>
<td VALIGN="TOP" COLSPAN=6 BGCOLOR="#000099">
<font SIZE=+2 COLOR="#FFFFFF" FACE="Sans-serif"><b>Layout</b></font></td>
</tr>
<tr>
<td COLSPAN=6 BGCOLOR="#CCCCCC"><font SIZE="+0" FACE="Sans-serif">
Organize your content the way you would like it displayed on your Front Page.
Select a channel, then move it up and down in the list or between columns by
clicking the arrows.
</font></td>
</tr>
<tr>
<td WIDTH=33% COLSPAN=2 BGCOLOR="#FFFFFF">
<center>
<font SIZE=+0 FACE="Sans-serif">Left ( Thin ) Channels:</font>
</center>
</td>
<td WIDTH=33% COLSPAN=2 BGCOLOR="#FFFFFF">
<center>
<font SIZE=+0 FACE="Sans-serif">Center ( Wide ) Channels:</font>
</center>
</td>
<td WIDTH=33% COLSPAN=2 BGCOLOR="#FFFFFF">
<center>
<font SIZE=+0 FACE="Sans-serif">Right ( Thin ) Channels:</font>
</center>
</td>
</tr>
<tr>
<td WIDTH=33% BGCOLOR="#FFFFFF">
<font SIZE=+0 FACE="Sans-serif">
<center>
<select NAME="one" SIZE=5 MULTIPLE></select>
</center>
</font>
</td>
<td WIDTH="1%">
<table CELLPADDING=4>
<tr>
<td>
<a HREF="javascript:void(0)" ONCLICK="return arrangeContentProvider(0,1)">
<img SRC="/desktop/images/b_up.gif" WIDTH=17 HEIGHT=15 BORDER="0" ALT="Up">
</a>
</td>
</tr>
<tr>
<td>
<a HREF="javascript:void(0)" ONCLICK="return arrangeContentProvider(1,1)">
<img SRC="/desktop/images/b_down.gif" WIDTH=17 HEIGHT=15 BORDER=0 ALT="Down">
</a>
</td>
</tr>
<tr>
<td>
<a HREF="javascript:void(0)" ONCLICK="return switchColumns(1,2)">
<img SRC="/desktop/images/b_right.gif" WIDTH=17 HEIGHT=15 BORDER=0 ALT="Move Right">
</a>
</td>
</tr>
</table>
</td>
<td WIDTH=33% BGCOLOR="#FFFFFF">
<font SIZE=+0 FACE="Sans-serif">
<center>
<select NAME="three" SIZE=5 MULTIPLE></select> </center>
</font>
</td>
<td WIDTH="1%">
<table CELLPADDING=4>
<tr>
<td>
<a HREF="javascript:void(0)" ONCLICK="return arrangeContentProvider(0,3)">
<img SRC="/desktop/images/b_up.gif" WIDTH=17 HEIGHT=15 BORDER="0" ALT="Up">
</a>
</td>
</tr>
<tr>
<td>
<a HREF="javascript:void(0)" ONCLICK="return arrangeContentProvider(1,3)">
<img SRC="/desktop/images/b_down.gif" WIDTH=17 HEIGHT=15 BORDER=0 ALT="Down">
</a>
</td>
</tr>
</table>
</td>
<td WIDTH=32% BGCOLOR="#FFFFFF">
<font SIZE=+0 FACE="Sans-serif">
<center>
<select NAME="two" SIZE=5 MULTIPLE><option VALUE=iwtUserInfoProvider> User
Information</option>
<option VALUE=iwtUserInfoProvider> User Information</option>
<option VALUE=iwtUserInfoProvider> User Information</option>
</select> </center>
</font>
</td>
<td WIDTH="1%">
<table CELLPADDING=4>
<tr>
<td>
<a HREF="javascript:void(0)" ONCLICK="return arrangeContentProvider(0,2)">
<img SRC="/desktop/images/b_up.gif" WIDTH=17 HEIGHT=15 BORDER="0" ALT="Up">
</a>
</td>
</tr>
<tr>
<td>
<a HREF="javascript:void(0)" ONCLICK="return arrangeContentProvider(1,2)">
<img SRC="/desktop/images/b_down.gif" WIDTH=17 HEIGHT=15 BORDER=0 ALT="Down">
</a>
</td>
</tr>
<tr>
<td>
<a HREF="javascript:void(0)" ONCLICK="return switchColumns(2,1)">
<img SRC="/desktop/images/b_left.gif" WIDTH=17 HEIGHT=15 BORDER=0 ALT="Move Left">
</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>
<font SIZE=+0 FACE="Sans-serif">
<input TYPE=BUTTON ONCLICK="openFrontPage();" VALUE="Cancel">
<input TYPE=SUBMIT NAME="Submit" VALUE="Finished">
</font>
<br>
</form>
<p>
<center>
<!--
Copyright 02/02/00 Sun Microsystems, Inc. All Rights Reserved.
"@(#)menubar.html
1.3 00/02/02 Sun Microsystems"
-->
<table BORDER="0" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<tr BGCOLOR="#000000">
<td ALIGN="LEFT" VALIGN="MIDDLE" NOWRAP>
<font COLOR="#FFFFFF"
FACE="Sans-serif">
<script LANGUAGE="JavaScript">
<!--Hide JavaScript from Java-Impaired Browsers
function initArray() {
for(i=0;i<initArray.arguments.length; i++)
this[i] = initArray.arguments[i];
}
var isnMonths=new
initArray("January","February","March","April","May","June","July","August","September","October","November","December");
var isnDays= new
initArray("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday",
"Saturday","Sunday");
today=new Date();
hrs=today.getHours();
min=today.getMinutes();
sec=today.getSeconds();
clckh=""+((hrs>12)?hrs-12:hrs);
clckm=((min<10)?"0":"")+min;
clcks=((sec<10)?"0":"")+sec;
clck=(hrs>=12)?"p.m.":"a.m.";
// fixes a Netscape 2 and 3 bug
function getFullYear(d) { // d is a date object
yr = d.getYear();
if (yr < 1000)
yr+=1900;
return yr;
}
document.write(" <B>"+isnDays[today.getDay()]+",
"+isnMonths[today.getMonth()]+" "+today.getDate()+", "+getFullYear(today)+"</B>");
// End hiding -->
</SCRIPT>
</font>
</td>
<td ALIGN="MIDDLE" VALIGN="MIDDLE">
<a HREF="mailto:insidejpladmin@list.jpl.nasa.gov">
<font COLOR="#FFFFFF" FACE="Sans-serif"SIZE="+0" CLASS="nonuw">Contact the
Webmaster</font></a>
</td>
<td ALIGN="RIGHT" VALIGN="MIDDLE" NOWRAP>
<p ALIGN="RIGHT">
<font COLOR="#FFFFFF" FACE="Sans-serif" SIZE="+0">
<a HREF="#" onClick="window.open
('http://RemedyOps.jpl.nasa.gov/ars-central/cgi-bin/km_beta_portal.cgi','Remedy','HEIGHT=600,WIDTH=950')">
<font COLOR="#FFFFFF" CLASS="nonuw">Report A Problem</font></a> |
<a HREF="/DesktopServlet?action=content&provider=iwtFrontProvider">
<font COLOR="#FFFFFF" CLASS="nonuw">Home</font></a> |
<!--
<A HREF="/DesktopServlet?action=edit&provider=iwtOptionsProvider">
<FONT COLOR="#FFFFFF" CLASS="nonuw">Options</FONT></A> |
-->
<a HREF="/DesktopServlet?action=edit&provider=iwtContentProvider">
<font COLOR="#FFFFFF" CLASS="nonuw">Content</font></a> |
<a HREF="/DesktopServlet?action=edit&provider=iwtLayoutProvider">
<font COLOR="#FFFFFF" CLASS="nonuw">Layout</font></a> |
<a HREF="/docs/en_US/online_help/user_help/desktop/help_pages/toc.html"
target="wthelp" onClick="javascript: var helpWin =
window.open('/docs/en_US/online_help/user_help/desktop/help_pages/toc.html',
'wthelp',
'width=600,height=400,hotkeys=no,status=no,resizable=yes,scrollbars=yes,toolbar=yes');
helpWin.focus();return false;"><font COLOR="#FFFFFF" CLASS="nonuw">Help</font></a> |
<!--
<A HREF="/DesktopServlet?action=logout">
-->
<a HREF="/logout">
<font COLOR="#FFFFFF" CLASS="nonuw">
<b>Log Out</b>
</font></a>
</font>
</p>
</td>
</tr>
</table>
</center>
</body>
</html>
Comment 1•23 years ago
|
||
Browser, not engine ---> DOM Level 0
Troy: if possible, could you provide your example again, but
this time via the "Create a New Attachment" link above?
That way, Bugzilla won't put in undesired line-breaks in your source.
Of course for HTML that doesn't matter, but for JavaScript, it does.
Once you've attached it, we can try to debug it; thanks -
Assignee: rogerl → jst
Component: JavaScript Engine → DOM Level 0
QA Contact: pschwartau → desale
Actually, it appears the undesired line breaks:
document.write(" <B>"+isnDays[today.getDay()]+",
"+isnMonths[today.getMonth()]+" "+today.getDate()+", "+getFullYear(today)+"</B>");
are actually part of the code. There are two instances of a line break following
the ", sequence, and both cause errors on the JS console. Thus the JS code is bad.
If you fix those yourself, you still see a JS error when you click the bottom
button as in Step 4:
"Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLSelectElement.selectedIndex]"
nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame ::
file:///Presto/Users/gregkola/Desktop/insidejpl.jpl.nasa.gov.html ::
switchColumns :: line 62" data: no]"
Troy, have you communicated with the page's developers about this issue?
Comment 4•23 years ago
|
||
Comment 5•23 years ago
|
||
Note: I reattached the source with absolute references to Mozilla images,
because the references to JPL images were hanging on me...
Confirming bug with Mozilla trunk binary 20020612xx, following the original
steps to reproduce given above. On step 4, I get this error in the JS Console:
Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIDOMHTMLSelectElement.selectedIndex]"
nsresult: "0x80004005 (NS_ERROR_FAILURE)"
location: "JS frame ::
http://bugzilla.mozilla.org/attachment.cgi?id=87553&action=view :: switchColumns
:: line 113" data: no]
Note line 113 in the switchColumns() function is this:
document.layoutForm[destinationColumn].selectedIndex =
document.layoutForm[destinationColumn].length;
From the Mozilla JS Debugger, we get more detail:
Exception [XPComponent] [class: XPCWrappedNative_NoHelper] {0} thrown from
function switchColumns(sourceColumnID=integer:2, destinationColumnID=integer:1)
in <http://bugzilla.mozilla.org/attachment.cgi?id=87553&action=view> line 113.
Stopped for thrown exception.
$[0] = [XPComponent] [class: XPCWrappedNative_NoHelper] {0}
function switchColumns(sourceColumnID=integer:2, destinationColumnID=integer:1)
in <http://bugzilla.mozilla.org/attachment.cgi?id=87553&action=view> line 113
111: destinationLength = document.layoutForm[destinationColumn].length;
112: document.layoutForm[destinationColumn].options[destinationLength] = new
Option(oText, oValue, false, false);
113: document.layoutForm[destinationColumn].selectedIndex =
document.layoutForm[destinationColumn].length;
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 6•23 years ago
|
||
I have talked to the developers about this. They tell me that it works in Navigator 4.77. I have verified this with the URL <http://bugzilla.mozilla.org/attachment.cgi?id=87553&action=view>
That's all they care about -- they don't plan on making fixes for other browsers.
Reporter | ||
Comment 8•22 years ago
|
||
I have verified that this bug still exists in
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4a) Gecko/20030325
Build ID: 2003032503
I went to <http://bugzilla.mozilla.org/attachment.cgi?id=87553&action=view>
-clicked on "User Information" (any of them)
-clicked on "MOVE LEFT" twice
-two copies appear in the "Left (thin) Channels"
-there are still three copies of "User Information" in the "Right (thin) channels"
expected result (seen in Netscape Navigator 4.77)
- one "User Information" item in "Left (thin) Channels"
- two "User Information" items in the "Right (thin) channels"
("move" should move items, not copy them)
Comment 9•21 years ago
|
||
Still present in Firefox 0.8.
Updated•15 years ago
|
Assignee: general → nobody
QA Contact: desale → general
Reporter | ||
Comment 10•14 years ago
|
||
I repeated my verification steps from Comment 8 in Firefox 3.6.10 (Mozilla/5.0) and it appears to be working properly now. After clicking "MOVE LEFT" twice, I get an appropriate dialog, "Please select a channel."
I'm marking it resolved, worksforme.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•