mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
dceaf5a2a4
commit
c35543e52f
@ -328,15 +328,27 @@ function(text, options){
|
|||||||
|
|
||||||
// edit the element...
|
// edit the element...
|
||||||
var editable = getEditable()
|
var editable = getEditable()
|
||||||
.makeEditable({
|
//.makeEditable({
|
||||||
|
//activate: true,
|
||||||
|
//blur_on_abort: false,
|
||||||
|
//blur_on_commit: false,
|
||||||
|
//multiline: options.multiline,
|
||||||
|
//clear_on_edit: options.clear_on_edit,
|
||||||
|
//reset_on_commit: options.reset_on_commit === undefined ?
|
||||||
|
// true
|
||||||
|
// // XXX need to take this from .makeEditable(..) defaults
|
||||||
|
// : options.reset_on_commit,
|
||||||
|
//reset_on_abort: options.reset_on_abort === undefined ?
|
||||||
|
// true
|
||||||
|
// // XXX need to take this from .makeEditable(..) defaults
|
||||||
|
// : options.reset_on_abort,
|
||||||
|
//)
|
||||||
|
// XXX is Object.assign(..) here a bit of an overkill??
|
||||||
|
.makeEditable(Object.assign({
|
||||||
activate: true,
|
activate: true,
|
||||||
blur_on_abort: false,
|
blur_on_abort: false,
|
||||||
blur_on_commit: false,
|
blur_on_commit: false,
|
||||||
multiline: options.multiline,
|
}, options))
|
||||||
clear_on_edit: options.clear_on_edit,
|
|
||||||
reset_on_commit: options.reset_on_commit,
|
|
||||||
reset_on_abort: options.reset_on_abort,
|
|
||||||
})
|
|
||||||
|
|
||||||
!keep_selection
|
!keep_selection
|
||||||
// deselect on abort/commit...
|
// deselect on abort/commit...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user