* remove the help link of file.

This commit is contained in:
wangchunsheng
2010-03-27 02:48:53 +00:00
parent 4eba528494
commit 194aa38000

View File

@@ -120,7 +120,7 @@ function setHelpLink()
{
$('form input[id], form select[id], form textarea[id]').each(function()
{
if($(this).attr('type') == 'hidden') return;
if($(this).attr('type') == 'hidden' || $(this).attr('type') == 'file') return;
currentFieldName = $(this).attr('name') ? $(this).attr('name') : $(this).attr('id');
if(currentFieldName == 'submit' || currentFieldName == 'reset') return;
if(currentFieldName.indexOf('[') > 0) currentFieldName = currentFieldName.substr(0, currentFieldName.indexOf('['));