From 82569b9cb412b509d88de55bd3f15a9499dfe76e Mon Sep 17 00:00:00 2001 From: shefali shetty Date: Tue, 5 Jun 2012 12:30:30 +0530 Subject: collapsing done with ctrl+click event --- objectapp/templates/objectapp/skeleton.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'objectapp/templates/objectapp/skeleton.html') diff --git a/objectapp/templates/objectapp/skeleton.html b/objectapp/templates/objectapp/skeleton.html index d60b9ece..78baf08b 100644 --- a/objectapp/templates/objectapp/skeleton.html +++ b/objectapp/templates/objectapp/skeleton.html @@ -405,7 +405,7 @@ $(window).bind('keydown',function(event) { metadata=_.union(new_metadata,metadata); relations=_.union(new_relations,relations); - check_Relation(metadata,relations); + relations= check_Relation(metadata,relations); }}); @@ -446,7 +446,7 @@ $(window).bind('keydown',function(event) { metadata=_.union(new_metadata,metadata); relations=_.union(new_relations,relations); - check_Relation(metadata,relations); + relations= check_Relation(metadata,relations); _.each(metadata, function(m){ @@ -592,6 +592,7 @@ function check_Relation(metadata,relations) } }); + return relations; } -- cgit v1.2.3-70-g09d2