untested fix for NaNs appearing in UI after deselecting annotations in edits section
This commit is contained in:
parent
cd49787f02
commit
029ad03fd5
1 changed files with 3 additions and 1 deletions
|
@ -331,7 +331,9 @@ pandora.ui.editPanel = function(isEmbed) {
|
||||||
pandora.UI.set({editSelection: data.ids});
|
pandora.UI.set({editSelection: data.ids});
|
||||||
},
|
},
|
||||||
selectannotation: function(data) {
|
selectannotation: function(data) {
|
||||||
that.options({position: data['in']})
|
if ('in' in data) {
|
||||||
|
that.options({position: data['in']})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
sort: function(data) {
|
sort: function(data) {
|
||||||
pandora.UI.set({editSort: data});
|
pandora.UI.set({editSort: data});
|
||||||
|
|
Loading…
Reference in a new issue