mirror of
				https://github.com/Icinga/icingaweb2.git
				synced 2025-10-31 11:24:51 +01:00 
			
		
		
		
	datetime-picker.js: Append flatpickr container not to body
The body isn't cleared without a full reload. This way the flatpickr container resides in the same container as the input's form.
This commit is contained in:
		
							parent
							
								
									025c50f8a5
								
							
						
					
					
						commit
						90a056d988
					
				| @ -64,6 +64,7 @@ | |||||||
|             var dateTimeFormatter = _this.createFormatter(! disableDate, enableTime); |             var dateTimeFormatter = _this.createFormatter(! disableDate, enableTime); | ||||||
|             var options = { |             var options = { | ||||||
|                 locale: _this.loadFlatpickrLocale(), |                 locale: _this.loadFlatpickrLocale(), | ||||||
|  |                 appendTo: this.form.parentNode, | ||||||
|                 altInput: true, |                 altInput: true, | ||||||
|                 enableTime: enableTime, |                 enableTime: enableTime, | ||||||
|                 noCalendar: disableDate, |                 noCalendar: disableDate, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user