bookmarks: bugfix, deferred
might be null
This commit is contained in:
parent
c11a1b40e8
commit
ea4c490283
@ -344,7 +344,7 @@
|
|||||||
window.sessionStorage.setItem(this.cached_flag, true);
|
window.sessionStorage.setItem(this.cached_flag, true);
|
||||||
_converse.log('Error while fetching bookmarks');
|
_converse.log('Error while fetching bookmarks');
|
||||||
_converse.log(iq);
|
_converse.log(iq);
|
||||||
if (!_.isUndefined(deferred)) {
|
if (!_.isNil(deferred)) {
|
||||||
return deferred.reject();
|
return deferred.reject();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user