RT#41671 Fix double click prevention for all legacy buttons [renamed all from submit...
[freeside.git] / httemplate / misc / cust_main_note-import.cgi
index 1862895..12d6c36 100644 (file)
@@ -49,7 +49,7 @@
       if ( customerArray.length == 0 )  {
         custnum_obj.value = 'Not found';
         custnum_obj.style.color = '#ff0000';
-      } else if ( customerArray.length == 5 ) {
+      } else if ( customerArray.length >= 5 ) {
            var name = customerArray[1];
         opt(customer_select,custnum,name,'#000000');
         customer_select.selectedIndex = customer_select.length - 1;
 %      $row++;
 %    }
      </TABLE>
-     <INPUT TYPE="submit" NAME="submit" ID="importsubmit" VALUE="Import notes">
+     <INPUT TYPE="submit" NAME="submitButton" ID="importsubmit" VALUE="Import notes">
      <INPUT TYPE="checkbox" NAME="preview" onchange="previewChanged(this);">
      Preview mode
 %  } else {