Skip to content

Commit

Permalink
Fixed bug in following references when no results are found due to an…
Browse files Browse the repository at this point in the history
… HTTP error.
  • Loading branch information
ipaterson committed Jan 4, 2011
1 parent 39a92fa commit cb770d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/botoweb/property.js
Expand Up @@ -259,7 +259,7 @@ botoweb.Property = function(name, type, perm, model, opt) {
function process (objs) {
var data = [];

if (objs.length) {
if (objs.length && objs[0] != null) {
$.each(objs, function () {
data.push({ val: this, id: this.id });
});
Expand Down

0 comments on commit cb770d6

Please sign in to comment.