A jQuery line of code makes my cursor turn to 'text cursor'?
<p>In Firefox my cursor turns into the one you see when you select a text field (I'm using Ubuntu 11.04).</p>

<p>The problem seem to be the commented line below (because the cursors returns to default or pointer if I comment it):</p>

<pre><code>&lt;script type="text/javascript" &gt;
    $(function(){
        var btnUpload=$('#upload');
        var status=$('#logo-upload-status');
        new AjaxUpload(btnUpload, {
            action: '&lt;?php bloginfo('template_directory'); ?&gt;/upload-file.php',
            name: 'uploadfile',
            /* this is the problem -&gt; onSubmit: function(file, ext){  */
                 if (! (ext &amp;&amp; /^(jpg|png|jpeg|gif)$/.test(ext))){
                    status.text('Only JPG, PNG or GIF files are allowed');
                    return false;
                }
                status.text('Uploading...');
            }
            onComplete: function(file, response){
                //On completion clear the status
                status.text('');
                //Add uploaded file to list
                if(response==="success"){
                    $('&lt;li&gt;&lt;/li&gt;').appendTo('#files').html('&lt;img src="&lt;?php bloginfo('template_directory'); ?&gt;/images/'+file+'" alt="" /&gt;&lt;br /&gt;'+file).addClass('success');
                    $('#&lt;?php echo $logo_image; ?&gt;').val(file);
                } else{
                    $('&lt;li&gt;&lt;/li&gt;').appendTo('#files').text(file).addClass('error');
                }
            }
        });

    });
&lt;/script&gt;
</code></pre>

<p>The button:</p>

<pre><code>   &lt;input type="button" class="background_pattern_button" id="upload" value="Choose Logo" /&gt;
</code></pre>

<p>Any suggestions?</p>

<p>EDIT:</p>

<p>Firebug Inspector (For some reason the cursor looks normal in the screenshot):</p>

<p><img src="http://i.stack.imgur.com/vRZGs.png" alt="enter image description here"></p>
