Subversion-Projekte lars-tiefland.marine-sales.de

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
2 lars 1
$(function(){
2
 
3
    $('#email_error_dlg').dialog({
4
        autoOpen: false,
5
        height: "auto",
6
        width: 650,
7
        modal: true,
8
        resizable: false,
9
        draggable: false,
10
        buttons: {
11
            'weiter ohne Login': function(){
12
                $('#continue_email').val("1");
13
                $('#buy_form').submit();
14
                $(this).dialog('close');
15
            },
16
            'zum Login': function(){
17
                self.location.href='/index.php?mode=login';
18
            }
19
        },
20
        close: function(){
21
 
22
        }
23
    });
24
    $('#email_error_dlg').dialog('destroy');
25
    $('.send_pw_button').click(function() {
26
        var str = $(".forgotPWInput").val();
27
        str = str.trim();
28
        var ret = false;
29
        console.log(str);
30
        if( str.length == 0 ){
31
            alert( "Bitte geben Sie eine E-Mailadresse ein!" );
32
        }else{
33
            ret = confirm("Soll Ihnen wirklich ein neues Passwort zugeschickt werden?");
34
        }
35
        return ret;
36
    })
37
 
38
    function show_email_error_dlg()
39
    {
40
        $('#email_error_dlg').dialog('open');
41
    }
42
});