Update DialogAndroid.js

This commit is contained in:
Vojtech Novak
2016-08-09 22:57:07 +02:00
committed by GitHub
parent 2228c32bbc
commit 3ed5b1a3ef
+1
View File
@@ -59,6 +59,7 @@ class DialogAndroid {
var elements = indices.map(ind => (finalOptions.items || [])[ind]);
if(indices.length === 1 && isNaN(indices[0])){
indices=[] // the case of empty selection
elements=[]
}
originalCallback(indices, elements);
}