mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	minor cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									be87c9831c
								
							
						
					
					
						commit
						e8c59924e9
					
				| @ -50,7 +50,7 @@ | |||||||
| /* title */ | /* title */ | ||||||
| .content>*:before { | .content>*:before { | ||||||
| 	position: absolute; | 	position: absolute; | ||||||
| 	content: attr(title); | 	content: attr(dialog-title); | ||||||
| 
 | 
 | ||||||
| 	bottom: 100%; | 	bottom: 100%; | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -575,8 +575,11 @@ module.Dialogs = core.ImageGridFeatures.Feature({ | |||||||
| 				if(res instanceof jQuery || (res instanceof widget.Widget)){ | 				if(res instanceof jQuery || (res instanceof widget.Widget)){ | ||||||
| 					var elem = (res.dom || res) | 					var elem = (res.dom || res) | ||||||
| 
 | 
 | ||||||
| 					!elem.attr('title') && elem.attr('title', | 					!elem.attr('dialog-title')  | ||||||
| 						(this.getDoc(action)[action].shift() || action).split(/[\\\/]/g).pop()) | 						&& elem.attr( | ||||||
|  | 							'dialog-title', | ||||||
|  | 							(this.getDoc(action)[action].shift() || action) | ||||||
|  | 								.split(/[\\\/]/g).pop()) | ||||||
| 				} | 				} | ||||||
| 			}], | 			}], | ||||||
| 	], | 	], | ||||||
| @ -587,15 +590,18 @@ module.Dialogs = core.ImageGridFeatures.Feature({ | |||||||
| /*********************************************************************/ | /*********************************************************************/ | ||||||
| 
 | 
 | ||||||
| // NOTE: yes, this is a funny name ;)
 | // NOTE: yes, this is a funny name ;)
 | ||||||
|  | //
 | ||||||
|  | // XXX should we also add a hide-path config feature???
 | ||||||
| var BrowseActionsActions = actions.Actions({ | var BrowseActionsActions = actions.Actions({ | ||||||
| 	config: { | 	config: { | ||||||
| 		'action-category-order': [ | 		'action-category-order': [ | ||||||
| 			'99:File', | 			'99:File', | ||||||
| 				// NOTE: we can order any sub-tree we want in the same 
 | 				// NOTE: we can order any sub-tree we want in the same 
 | ||||||
| 				// 		manner as the root...
 | 				// 		manner as the root...
 | ||||||
| 				// XXX for some reason only one of the following works...
 |  | ||||||
| 				'File/-80:Clear viewer', | 				'File/-80:Clear viewer', | ||||||
| 				'File/-90:Close viewer', | 				'File/-90:Close viewer', | ||||||
|  | 				// NOTE: non existing elements will not get drawn...
 | ||||||
|  | 				//'File/-99:moo',
 | ||||||
| 			'80:Edit', | 			'80:Edit', | ||||||
| 			'70:Navigate', | 			'70:Navigate', | ||||||
| 			'60:Image', | 			'60:Image', | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user