mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 02:10:08 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
40e22c54df
commit
375cde19c0
@ -3128,6 +3128,7 @@ var FileSystemWriterUIActions = actions.Actions({
|
|||||||
// mode / destination / format
|
// mode / destination / format
|
||||||
// - button shortcuts...
|
// - button shortcuts...
|
||||||
// XXX add a 'name' field to the exportDialog(..) (???)
|
// XXX add a 'name' field to the exportDialog(..) (???)
|
||||||
|
// XXX Q: should we be able to change preset type???
|
||||||
exportPresets: ['- File/Export presets and history...',
|
exportPresets: ['- File/Export presets and history...',
|
||||||
core.doc`
|
core.doc`
|
||||||
`,
|
`,
|
||||||
@ -3193,7 +3194,6 @@ var FileSystemWriterUIActions = actions.Actions({
|
|||||||
return Object.match(preset, last_used) })
|
return Object.match(preset, last_used) })
|
||||||
.shift()
|
.shift()
|
||||||
// get the title...
|
// get the title...
|
||||||
// XXX this does not select correctly for some reason...
|
|
||||||
last_used = last_used ?
|
last_used = last_used ?
|
||||||
preset_index.keysOf(last_used)[0]
|
preset_index.keysOf(last_used)[0]
|
||||||
: history_keys[0]
|
: history_keys[0]
|
||||||
@ -3206,6 +3206,7 @@ var FileSystemWriterUIActions = actions.Actions({
|
|||||||
sortable: true,
|
sortable: true,
|
||||||
update_merge: 'live',
|
update_merge: 'live',
|
||||||
new_item: false,
|
new_item: false,
|
||||||
|
|
||||||
// saving an empty string on item edit will clear .name...
|
// saving an empty string on item edit will clear .name...
|
||||||
allow_empty: true,
|
allow_empty: true,
|
||||||
itemedit: function(evt, from, to){
|
itemedit: function(evt, from, to){
|
||||||
@ -3228,6 +3229,7 @@ var FileSystemWriterUIActions = actions.Actions({
|
|||||||
make.dialog.one('update',
|
make.dialog.one('update',
|
||||||
function(){
|
function(){
|
||||||
make.dialog.select(to) }) },
|
make.dialog.select(to) }) },
|
||||||
|
|
||||||
buttons: [
|
buttons: [
|
||||||
// edit...
|
// edit...
|
||||||
['<small class="show-on-hover view-or-edit">edit</small>',
|
['<small class="show-on-hover view-or-edit">edit</small>',
|
||||||
|
|||||||
@ -179,6 +179,7 @@ body {
|
|||||||
requirejs.config({
|
requirejs.config({
|
||||||
paths: {
|
paths: {
|
||||||
'lib/object': '../../node_modules/ig-object/object',
|
'lib/object': '../../node_modules/ig-object/object',
|
||||||
|
'lib/types': '../../node_modules/ig-types/',
|
||||||
'lib/actions': '../../node_modules/ig-actions/actions',
|
'lib/actions': '../../node_modules/ig-actions/actions',
|
||||||
'lib/features': '../../node_modules/ig-features/features',
|
'lib/features': '../../node_modules/ig-features/features',
|
||||||
'lib/walk': '../../node_modules/generic-walk/walk',
|
'lib/walk': '../../node_modules/generic-walk/walk',
|
||||||
@ -190,15 +191,19 @@ requirejs.config({
|
|||||||
'../object': 'lib/object',
|
'../object': 'lib/object',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
packages: [
|
||||||
|
'lib/types',
|
||||||
|
],
|
||||||
})
|
})
|
||||||
|
|
||||||
requirejs([
|
requirejs([
|
||||||
|
'lib/types',
|
||||||
|
'lib/object',
|
||||||
'../util',
|
'../util',
|
||||||
'../keyboard',
|
'../keyboard',
|
||||||
'lib/object',
|
|
||||||
'../toggler',
|
'../toggler',
|
||||||
'./browse2',
|
'./browse2',
|
||||||
], function(u, k, o, t, br){
|
], function(_, o, u, k, t, br){
|
||||||
util = u
|
util = u
|
||||||
keyboard = k
|
keyboard = k
|
||||||
object = o
|
object = o
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user