mirror of
				https://github.com/fspc/BikeShed-1.git
				synced 2025-10-31 00:45:35 -04:00 
			
		
		
		
	Removing unused file
This commit is contained in:
		
							parent
							
								
									a626395648
								
							
						
					
					
						commit
						bb27c7a585
					
				| @ -1,15 +0,0 @@ | ||||
| # Place all the behaviors and hooks related to the matching controller here. | ||||
| # All this logic will automatically be available in application.js. | ||||
| # You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ | ||||
| jQuery -> | ||||
|   $('form').on 'click', '.remove_fields', (event) -> | ||||
|     $(this).prev('input[type=hidden]').val('1') | ||||
|     $(this).closest('fieldset').hide() | ||||
|     event.preventDefault() | ||||
| 
 | ||||
|   $('form').on 'click', '.add_fields', (event) -> | ||||
|     time = new Date().getTime() | ||||
|     regexp = new RegExp($(this).data('id'), 'g') | ||||
|     $(this).before($(this).data('fields').replace(regexp, time)) | ||||
|     event.preventDefault() | ||||
|    | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user