don't load info view twice
This commit is contained in:
parent
0311a33814
commit
2d761e49ad
1 changed files with 5 additions and 1 deletions
|
@ -29,7 +29,11 @@ oml.ui.infoView = function(externalData, isMixed) {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
oml_listselection: function(data) {
|
oml_listselection: function(data) {
|
||||||
if (data.value && data.value.length) {
|
if (
|
||||||
|
data.value
|
||||||
|
&& data.value.length
|
||||||
|
&& data.value[0] != ui.item
|
||||||
|
) {
|
||||||
that.updateElement(data.value[0]);
|
that.updateElement(data.value[0]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue