untested fix for NaNs appearing in UI after deselecting annotations in edits section

This commit is contained in:
rlx 2018-11-14 10:23:32 +00:00
parent cd49787f02
commit 029ad03fd5

View file

@ -331,7 +331,9 @@ pandora.ui.editPanel = function(isEmbed) {
pandora.UI.set({editSelection: data.ids});
},
selectannotation: function(data) {
that.options({position: data['in']})
if ('in' in data) {
that.options({position: data['in']})
}
},
sort: function(data) {
pandora.UI.set({editSort: data});