From b6e255d905b3180e6d064c3dad253bf44b1e9368 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 5 Jun 2015 00:52:05 +0100 Subject: fixed invalid removal of card Signed-off-by: Olivier Gayot --- cao-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cao-common.js') diff --git a/cao-common.js b/cao-common.js index 2e62d2b..3064cd7 100644 --- a/cao-common.js +++ b/cao-common.js @@ -94,7 +94,7 @@ var CAO = function() { }; map_handle_notif['received_card'] = function(result) { - var idx = result['card']['idx']; + var idx = result['card']['id']; var desc = result['card']['desc']; white_cards[idx] = desc; -- cgit v1.2.3