rem: .each(function(){  $('#keyword', currentThis).not(':submit') .keypress( function(e) { if(submitOnEnter(e)) { $(this).siblings(':submit').submit(); } } ) .val( function(){ var currentPattern = getRequestVariable(workingDivId,'filter_pattern'); if(currentPattern.length > 0) { return currentPattern; } return ''; } ) ;  $(':submit', currentThis).submit( function() { var keyword = $(this).siblings('#keyword').val(); setVariable(workingDivId, 'filter_offset', 0); setVariable(workingDivId, 'filter_column', 'label'); setVariable(workingDivId, 'filter_pattern', keyword); reloadAjaxDataTable(workingDivId, true, callbackSuccess); } );  $(':submit', currentThis) .click( function(){ $(this).submit(); }) ; } 
add: $("th", this).hover( function() { $(this).css({ cursor: "pointer"}); }, 
context: 			.each(function(){							// when enter is pressed in the input field we submit the form				$('#keyword', currentThis).not(':submit')					.keypress( 						function(e)						{ 							if(submitOnEnter(e))							{ 								$(this).siblings(':submit').submit(); 							} 						} 					)					.val( function(){							var currentPattern = getRequestVariable(workingDivId,'filter_pattern');							if(currentPattern.length > 0)							{								return currentPattern;							}							return '';						}					)				;								$(':submit', currentThis).submit( 					function()					{						var keyword = $(this).siblings('#keyword').val();						setVariable(workingDivId, 'filter_offset', 0); 						setVariable(workingDivId, 'filter_column', 'label');						setVariable(workingDivId, 'filter_pattern', keyword);						reloadAjaxDataTable(workingDivId, true, callbackSuccess);					}				);								$(':submit', currentThis)					.click( function(){ $(this).submit(); })				;			}
meta: 1267	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1267/635cf05238806c8a032bba9b371d70abf10d2c7e/datatable.js/buggy/plugins/UserSettings/templates/datatable.js