Changeset 851 for trunk/web-app/js
- Timestamp:
- Mar 8, 2011, 6:33:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/js/taskShow.js
r850 r851 8 8 createContainer.find(':input[name="comment"]').focus(); 9 9 }); 10 // Register 'submit_*' input button click handlers. 11 createContainer.find('input[name^="submit_"]').click(function(){ 12 createContainer.find(':input[name="submitAction"]').val(jQuery(this).attr('name')); 13 createContainer.find('form:first').submit(); 14 }); 10 15 // Hijack form submit to use our function. 11 var eventData = {listContainer:listContainer, createContainer:createContainer, button:button};16 var eventData = {listContainer:listContainer, createContainer:createContainer, button:button}; 12 17 createContainer.find('form:first').submit(eventData, submitCreateEntryForm); 13 18 // Register the close img click handler.
Note: See TracChangeset
for help on using the changeset viewer.