--- a/integration/js/common.js Thu Oct 25 13:31:02 2012 +0200
+++ b/integration/js/common.js Thu Oct 25 14:51:17 2012 +0200
@@ -3,8 +3,9 @@
$(".open-popin").click(function(){
var target = $(this).attr("href");
if($(target).is(':visible')){
- $(target).hide();
+ $(".popin").hide();
}else{
+ $(".popin").hide();
$(target).show();
}
return false;
@@ -18,4 +19,7 @@
$(".user").hide();
$(".user.signup").show();
});
+ $(".login-form, .signup-form").submit(function() {
+ $(".user").hide();
+ });
});
\ No newline at end of file