Subversion Repositories oidplus

Rev

Rev 642 | Rev 1036 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 642 Rev 833
Line 36... Line 36...
36
                                action:"blacklistJWT",
36
                                action:"blacklistJWT",
37
                                user:user
37
                                user:user
38
                        },
38
                        },
39
                        error:function(jqXHR, textStatus, errorThrown) {
39
                        error:function(jqXHR, textStatus, errorThrown) {
40
                                if (errorThrown == "abort") return;
40
                                if (errorThrown == "abort") return;
41
                                alert(_L("Error: %1",errorThrown));
41
                                alertError(_L("Error: %1",errorThrown));
42
                        },
42
                        },
43
                        success:function(data) {
43
                        success:function(data) {
44
                                if ("error" in data) {
44
                                if ("error" in data) {
45
                                        alert(_L("Error: %1",data.error));
45
                                        alertError(_L("Error: %1",data.error));
46
                                } else if (data.status >= 0) {
46
                                } else if (data.status >= 0) {
47
                                        alert(_L("OK"));
47
                                        alertSuccess(_L("OK"));
48
                                        reloadContent();
48
                                        reloadContent();
49
                                } else {
49
                                } else {
50
                                        alert(_L("Error: %1",data));
50
                                        alertError(_L("Error: %1",data));
51
                                }
51
                                }
52
                        }
52
                        }
53
                });
53
                });
54
        }
54
        }
55
 
55