mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	notes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									cdce5e9503
								
							
						
					
					
						commit
						f3c3393f4b
					
				| @ -526,17 +526,25 @@ var BaseItemPrototype = { | |||||||
| 			: undefined }, | 			: undefined }, | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 	// XXX BUG: this does not work for nested header elements...
 | 	// NOTE: these should not clash with user-supplied handlers ('update' does not)...
 | ||||||
| 	// 		to reproduce:
 |  | ||||||
| 	// 			dialog
 |  | ||||||
| 	// 				.get({children: true})
 |  | ||||||
| 	// 				.update()
 |  | ||||||
| 	// 		...for some reason the affected element is removed from dom...
 |  | ||||||
| 	update: function(options){ | 	update: function(options){ | ||||||
| 		this.parent | 		this.parent | ||||||
| 			&& this.parent.render(this, options) | 			&& this.parent.render(this, options) | ||||||
| 		return this | 		return this }, | ||||||
| 	}, | 	/* XXX this is disabled to avoid user confusion when a user item  | ||||||
|  | 	// 		event handler would not call/replicate the top-level (this)
 | ||||||
|  | 	// 		functionality and this break code relying on it...
 | ||||||
|  | 	// 		...for this to work well need to either:
 | ||||||
|  | 	// 			- separate item options form the item object,
 | ||||||
|  | 	// 			- force the user to follow strict protocols,
 | ||||||
|  | 	// 			- use a proxy when accessing items (reverse of #1) 
 | ||||||
|  | 	// 		XXX this also applies to .update(..) above...
 | ||||||
|  | 	focus: function(){  | ||||||
|  | 		arguments.length == 0  | ||||||
|  | 			&& this.parent | ||||||
|  | 			&& this.parent.focus(this) | ||||||
|  | 		return this }, | ||||||
|  | 	//*/
 | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| 	__init__(...state){ | 	__init__(...state){ | ||||||
| @ -3818,6 +3826,7 @@ object.Constructor('BaseBrowser', | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| //---------------------------------------------------------------------
 | //---------------------------------------------------------------------
 | ||||||
|  | // HTML-specific UI...
 | ||||||
| 
 | 
 | ||||||
| var KEYBOARD_CONFIG = | var KEYBOARD_CONFIG = | ||||||
| module.KEYBOARD_CONFIG = { | module.KEYBOARD_CONFIG = { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user