pass options through editable

This commit is contained in:
rolux 2014-12-17 15:39:58 +00:00
parent 424bbdd759
commit c7d9ffc615

View file

@ -151,7 +151,9 @@ Ox.Editable = function(options, self) {
autocompleteSelect: self.options.autocompleteSelect,
autocompleteSelectHighlight: self.options.autocompleteSelectHighlight,
autocompleteSelectMaxWidth: self.options.autocompleteSelectMaxWidth,
autocompleteSelectOffset: self.options.autocompleteSelectOffset,
autocompleteSelectSubmit: self.options.autocompleteSelectSubmit,
autocompleteSelectUpdate: self.options.autocompleteSelectUpdate,
changeOnKeypress: true,
element: self.options.type == 'input' ? '<span>' : '<div>',
style: 'square',