1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

We don't use ints for ids anymore!

This commit is contained in:
Thomas Tanghus 2013-05-09 05:53:46 +02:00
parent 10015deb8f
commit f1322fbe6d

View File

@ -345,7 +345,7 @@ OC.Contacts = OC.Contacts || {
this.hashChange = function() { this.hashChange = function() {
//console.log('hashchange', window.location.hash) //console.log('hashchange', window.location.hash)
var id = parseInt(window.location.hash.substr(1)); var id = String(window.location.hash.substr(1));
if(id && id !== self.currentid) { if(id && id !== self.currentid) {
self.openContact(id); self.openContact(id);
} else if(!id && self.currentid) { } else if(!id && self.currentid) {