don't load info view twice

This commit is contained in:
rlx 2016-01-17 17:59:34 +05:30
parent 0311a33814
commit 2d761e49ad

View file

@ -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]);
} }
} }