mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-30 19:00:09 +00:00 
			
		
		
		
	fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									559a7a9564
								
							
						
					
					
						commit
						804f7a73a2
					
				| @ -981,10 +981,10 @@ var CollectionActions = actions.Actions({ | |||||||
| 			//		- .collect(..) + .data.placeImage(..)
 | 			//		- .collect(..) + .data.placeImage(..)
 | ||||||
| 			//		- rewrite .collect(..) to use .data.placeImage(..) (like: .addToCrop(..))
 | 			//		- rewrite .collect(..) to use .data.placeImage(..) (like: .addToCrop(..))
 | ||||||
| 			getUndoState: function(d){ | 			getUndoState: function(d){ | ||||||
| 				d.placements = this.data.getImagePositions(d.args[0]) }, | 				d.placements = this.data.getImagePositions(d.args[0]) | ||||||
| 				d.collection = d.args[1] || this.collection | 				d.collection = d.args[1] || this.collection | ||||||
| 			}, | 			}, | ||||||
| 			/*/ XXX this does not work yet... | 			// XXX this does not work yet...
 | ||||||
| 			undo: function(d){ | 			undo: function(d){ | ||||||
| 				var that = this | 				var that = this | ||||||
| 				var gids = d.args[0] || [d.current] | 				var gids = d.args[0] || [d.current] | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user