mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 03:10:07 +00:00 
			
		
		
		
	added save state on unload...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									8e37b0dc92
								
							
						
					
					
						commit
						768bcd4d76
					
				
							
								
								
									
										11
									
								
								ui/TODO.otl
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								ui/TODO.otl
									
									
									
									
									
								
							| @ -1,16 +1,19 @@ | ||||
| Priority work | ||||
| 	[_] 68% Preview II | ||||
| 		[_] 53% save state | ||||
| 	[_] 62% Preview II | ||||
| 		[_] make shuft up/down direction-aware... | ||||
| 		| i.e. if we are going through images in a direction select the  | ||||
| 		| next image in that direction when shifting... | ||||
| 		[_] 57% save state | ||||
| 			[X] minimal: Local Storage (manual) | ||||
| 			| works across all targets (CEF, PhoneGap, browser) | ||||
| 			[_] local JSON (file) | ||||
| 			[_] CouchDB | ||||
| 			[_] 75% autosave | ||||
| 			[X] 100% autosave | ||||
| 				[X] on edit | ||||
| 				[X] on navigate | ||||
| 				| only save position to save time... | ||||
| 				[X] on timer | ||||
| 				[_] on unload | ||||
| 				[X] on unload | ||||
| 			[X] manual incremental save | ||||
| 			[_] manual named save | ||||
| 			[X] versions/history | ||||
|  | ||||
| @ -1025,6 +1025,7 @@ function setDefaultInitialState(){ | ||||
| function setupEvents(){ | ||||
| 	var updated = false | ||||
| 	// persistence...
 | ||||
| 	$(window).unload(ImageGrid.saveState) | ||||
| 	$(document) | ||||
| 		// main modifier events...
 | ||||
| 		.bind('shiftImageUp shiftImageDown reverseImageOrder '+ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user