cozy / cozy-contacts-v2

Contact books manager for Cozy
http://cozy.io
GNU Affero General Public License v3.0
20 stars 20 forks source link

Uncaught TypeError: Cannot read property 'length' of null #265

Open clochix opened 8 years ago

clochix commented 8 years ago

See rems errors in this feed:

error - contact:application | {"type":"error","href":"https://remylicot.cozycloud.cc/apps/contacts/#contacts","url":"https://remylicot.cozycloud.cc/apps/contacts/scripts/app.js","line":"4","col":"69"}
error - contact:application | Uncaught TypeError: Cannot read property 'length' of null
error - contact:application | TypeError: Cannot read property 'length' of null
    at o.exports.o.toggleResults (https://remylicot.cozycloud.cc/apps/contacts/scripts/app.js:4:7598)
    at v (https://remylicot.cozycloud.cc/apps/contacts/scripts/vendor.js:4:24520)
    at y (https://remylicot.cozycloud.cc/apps/contacts/scripts/vendor.js:4:24254)
    at f (https://remylicot.cozycloud.cc/apps/contacts/scripts/vendor.js:4:22173)
    at l.trigger (https://remylicot.cozycloud.cc/apps/contacts/scripts/vendor.js:4:24147)
    at o.search (https://remylicot.cozycloud.cc/apps/contacts/scripts/app.js:1:2650)
    at o.keyup @ui.search._.debounce.trailing (https://remylicot.cozycloud.cc/apps/contacts/scripts/app.js:6:23636)
    at i (https://remylicot.cozycloud.cc/apps/contacts/scripts/vendor.js:1:27782)
    at s (https://remylicot.cozycloud.cc/apps/contacts/scripts/vendor.js:1:27878)
gregorylegarec commented 8 years ago

Reproduce :