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:
parent
10015deb8f
commit
f1322fbe6d
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user