prevent default behavior of anchor when editing slot
This commit is contained in:
		
							parent
							
								
									d354e2b017
								
							
						
					
					
						commit
						f4344f4cbb
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -55,11 +55,12 @@ | |||
|     <script src="{{ STATIC_URL }}chosen/chosen.jquery.min.js" type="text/javascript"></script> | ||||
|     <script type="text/javascript"> | ||||
|         $(function() { | ||||
|             $("a.edit-slot").click(function() { | ||||
|             $("a.edit-slot").click(function(e) { | ||||
|                 $("#slotEditModal").load($(this).data("action"), function() { | ||||
|                     $("#id_presentation").chosen(); | ||||
|                     $("#slotEditModal").modal("show"); | ||||
|                 }); | ||||
|                 e.preventDefault(); | ||||
|             }); | ||||
|         }); | ||||
|     </script> | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Brian Rosner
						Brian Rosner