Changeset 863 for trunk/web-app
- Timestamp:
- Mar 14, 2011, 2:50:56 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web-app/js/taskShow.js
r859 r863 1 2 var submit_confirmResult = true 1 3 2 4 function showButton(button) { … … 17 19 }); 18 20 // Register 'submit_*' input button click handlers. 19 target.find('input[name^="submit_"]').click(function( ){21 target.find('input[name^="submit_"]').click(function(e){ 20 22 target.find(':input[name="submitAction"]').val(jQuery(this).attr('name')); 21 23 target.find('form:first').submit(); … … 35 37 function submitCreateEntryForm(event) { 36 38 39 event.preventDefault(); 40 41 if(submit_confirmResult == false) { 42 submit_confirmResult = true 43 return false; 44 } 45 37 46 var actionUrl = getContextPath()+"/entryDetailed/ajaxSave/"; 38 39 event.preventDefault();40 47 var listContainer = event.data.listContainer; 41 48 var source = event.data.source;
Note: See TracChangeset
for help on using the changeset viewer.