Ignore:
Timestamp:
24-02-11 11:15:00 (6 years ago)
Author:
t.w.abma@…
Message:
  • disabled <Enter> key to prevent submission of form (JS)
  • using matching, going to step 3 and back to 2 (next/prev) manually changed properties are now remembered instead of automatically being rematched
  • added simple explanation to buttons via title attribute
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/importer/common/_on_page.gsp

    r1525 r1555  
    9595 
    9696          }); 
     97           
     98 
     99          // Disable Enter key  
     100          function stopRKey(evt) { 
     101            var evt = (evt) ? evt : ((event) ? event : null); 
     102            var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null); 
     103            if ((evt.keyCode == 13) && (node.type=="text"))  {return false;} 
     104          } 
     105          document.onkeypress = stopRKey; 
     106           
    97107 
    98108          // attach function to clear button to reset all selects to "don't import" 
Note: See TracChangeset for help on using the changeset viewer.