mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
b06127acf5
commit
28734c5ee0
@ -219,15 +219,15 @@ var ImageMarkActions = actions.Actions({
|
||||
nextMarked: ['Mark|Navigate/Next marked image',
|
||||
function(mode){ this.nextTagged('selected', mode) }],
|
||||
|
||||
cropMarked: ['Mark|Crop/Crop $marked images',
|
||||
function(flatten){ this.cropTagged('selected', 'any', flatten) }],
|
||||
|
||||
shiftMarkedUp: ['Mark|Ribbon/Shift marked up',
|
||||
shiftMarkedUp: ['Mark|Ribbon/Shift marked $up',
|
||||
{undo: undoShift('shiftMarkedDown')},
|
||||
shiftMarked('up')],
|
||||
shiftMarkedDown: ['Mark|Ribbon/Shift marked down',
|
||||
shiftMarkedDown: ['Mark|Ribbon/Shift marked $down',
|
||||
{undo: undoShift('shiftMarkedUp')},
|
||||
shiftMarked('down')],
|
||||
|
||||
cropMarked: ['Mark|Crop/Crop $marked images',
|
||||
function(flatten){ this.cropTagged('selected', 'any', flatten) }],
|
||||
})
|
||||
|
||||
|
||||
|
||||
@ -263,9 +263,7 @@ function(elem, state_accessor, states, callback_a, callback_b){
|
||||
}
|
||||
|
||||
// update the element...
|
||||
//state_accessor.call(this, e, state)
|
||||
var res = state_accessor.call(this, e, state)
|
||||
//action = res !== undefined ? res : action
|
||||
|
||||
// post callback...
|
||||
if(callback_post != null){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user