mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	started refactorng the ui dialogs/containers to the new framework (experimental)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									774fcf0413
								
							
						
					
					
						commit
						a25a5d2228
					
				| @ -399,7 +399,7 @@ var URLHistoryUIActions = actions.Actions({ | |||||||
| 	// XXX make availabilyty checking live (now on open dialog)...
 | 	// XXX make availabilyty checking live (now on open dialog)...
 | ||||||
| 	// XXX need to check items...
 | 	// XXX need to check items...
 | ||||||
| 	// XXX use svg icons for buttons...
 | 	// XXX use svg icons for buttons...
 | ||||||
| 	listURLHistory: ['History|File/Show history', | 	listURLHistory: ['History|File/Show history...', | ||||||
| 		widgets.makeUIDialog(function(){ | 		widgets.makeUIDialog(function(){ | ||||||
| 			var that = this | 			var that = this | ||||||
| 			var parent = this.preventClosing ? this.preventClosing() : null | 			var parent = this.preventClosing ? this.preventClosing() : null | ||||||
| @ -492,9 +492,11 @@ var URLHistoryUIActions = actions.Actions({ | |||||||
| 			*/ | 			*/ | ||||||
| 
 | 
 | ||||||
| 			// select and highlight current path...
 | 			// select and highlight current path...
 | ||||||
| 			cur && o | 			setTimeout(function(){ | ||||||
| 				.select('"'+ cur +'"') | 				cur && o | ||||||
| 					.addClass('highlighted') | 					.select('"'+ cur +'"') | ||||||
|  | 						.addClass('highlighted') | ||||||
|  | 			}, 0) | ||||||
| 
 | 
 | ||||||
| 			return o | 			return o | ||||||
| 		})], | 		})], | ||||||
|  | |||||||
| @ -81,6 +81,8 @@ function(list, item, elem, callback, options){ | |||||||
| //
 | //
 | ||||||
| // XXX add sort buttons: up/down/top/bottom...
 | // XXX add sort buttons: up/down/top/bottom...
 | ||||||
| // XXX make this more generic...
 | // XXX make this more generic...
 | ||||||
|  | // XXX currently using this also requires the use of makeUIDialog(..),
 | ||||||
|  | // 		can this be simpler???
 | ||||||
| var makeConfigListEditor =  | var makeConfigListEditor =  | ||||||
| module.makeConfigListEditor = | module.makeConfigListEditor = | ||||||
| function(actions, list_key, options){ | function(actions, list_key, options){ | ||||||
| @ -233,6 +235,8 @@ function(actions, list_key, options){ | |||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| // XXX should this be more generic...
 | // XXX should this be more generic...
 | ||||||
|  | // XXX currently using this also requires the use of makeUIDialog(..),
 | ||||||
|  | // 		can this be simpler???
 | ||||||
| var makeNestedConfigListEditor =  | var makeNestedConfigListEditor =  | ||||||
| module.makeNestedConfigListEditor = | module.makeNestedConfigListEditor = | ||||||
| function(actions, parent, list_key, value_key, options){ | function(actions, parent, list_key, value_key, options){ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user