Closed Bug 285725 Opened 20 years ago Closed 20 years ago

not working property Click(); of input type file

Categories

(Toolkit :: Form Manager, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 201178

People

(Reporter: lupito, Assigned: bugs)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.7.5) Gecko/20041210 Firefox/1.0

When call property Click(); of input type file in a form, dont show dialog for 
input files.

Reproducible: Always

Steps to Reproduce:
1. Use TEST CASE
Actual Results:  
NOTHING

Expected Results:  
SHOW THE DIALOG FOR INPUT FILES

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>TESTCASE</title>
</head>
<body>
<!-- ------- -->
<!-- FORMS   -->
<!-- ------- -->
<form action="no_action.php" method="POST" name="form1" id="form1" 
enctype="multipart/form-data">
Input File<input type="file" name="typefile" id="typefile">
<br>
<input type="submit">
</form>
<p>&nbsp;</p>
<a href="#" OnClick="document.form1.typefile.focus
();document.form1.typefile.click();document.form1.typefile.blur();"> CLICK TO 
TEST CASE (FOCUS,CLICK,BLUR EVENTS)</a>
<br>
<a href="#" OnClick="document.form1.typefile.click()"> CLICK TO TEST CASE (ONLY 
CLICK) </a>
</body>
</html>

*** This bug has been marked as a duplicate of 201178 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.