mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	set title of modal box from data-modal-title
This commit is contained in:
		
							parent
							
								
									8c77c1fd06
								
							
						
					
					
						commit
						dd95c1ed8a
					
				|  | @ -281,6 +281,9 @@ $(document).ready( function() { | |||
| 	$('body').on('click', '[data-toggle="modal"]', function(ev){ | ||||
| 		ev.preventDefault(); | ||||
| 		$($(this).data("target")+' .modal-body').load($(this).data("remote")); | ||||
| 		/* Also set the title */ | ||||
| 		if($(this).data("modal-title")) | ||||
| 			$($(this).data("target")+' .modal-header h3').html($(this).data("modal-title")); | ||||
| 	}); | ||||
| 
 | ||||
| //	$('body').on('touchstart.dropdown', '.dropdown-menu', function (e) { e.stopPropagation(); });
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann