/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/js/bannermenu.js

  • Committer: elof.bigestans at gmail
  • Date: 2013-05-28 12:22:05 UTC
  • mto: This revision was merged to the branch mainline in revision 124.
  • Revision ID: elof.bigestans@gmail.com-20130528122205-vjsnupb37becli01
Working on Bannermenu 

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
                                // If the user is not logged in and the popup-div is hidden it's filled and shown.
32
32
                                if($('#popup').is(':hidden')) {
33
33
                                        $('#popup').load('ajax/popup/login', function(){
34
 
                                                $('#popup').show();
 
34
                                                $('#popup').show().click(function(e){e.stopPropagation();});
35
35
                                                $("#popup .hint").click(loginHint);
36
36
                                        });
37
37
                                }
58
58
                }
59
59
 
60
60
        });
 
61
 
 
62
        $("#dropdownMenuLogout").click(function(e) {
 
63
                e.stopPropagation();
 
64
                window.location.href = "./start/logout";
 
65
        });
 
66
 
 
67
        $("html").click(function(e) {
 
68
                e.stopPropagation();
 
69
                $("#dropdownMenuCourseBlock").hide();
 
70
                $("#popup").hide();
 
71
        });
61
72
});
 
 
b'\\ No newline at end of file'