cosmetic changes
This commit is contained in:
parent
4a9400cbd9
commit
1ac7499986
1 changed files with 2 additions and 1 deletions
|
@ -289,9 +289,10 @@ Ox.ArrayEditable = function(options, self) {
|
||||||
var $target = $(e.target),
|
var $target = $(e.target),
|
||||||
$element = $target.is('.OxEditableElement')
|
$element = $target.is('.OxEditableElement')
|
||||||
? $target : $target.parents('.OxEditableElement'),
|
? $target : $target.parents('.OxEditableElement'),
|
||||||
position = $element.data('position');
|
position;
|
||||||
if (!$target.is('.OxInput')) {
|
if (!$target.is('.OxInput')) {
|
||||||
if ($element.length) {
|
if ($element.length) {
|
||||||
|
position = $element.data('position');
|
||||||
// if clicked on an element
|
// if clicked on an element
|
||||||
if (position != self.selected) {
|
if (position != self.selected) {
|
||||||
// select another item
|
// select another item
|
||||||
|
|
Loading…
Reference in a new issue