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

Revision

Revision 300 | Revision 304 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 300 Revision 303
Zeile 77... Zeile 77...
77
                                {
77
                                {
78
                                    $('#editShippingDlg').dialog("close")
78
                                    $('#editShippingDlg').dialog("close")
79
                                },
79
                                },
80
                                error:function (response)
80
                                error:function (response)
81
                                {
81
                                {
-
 
82
                                    console.log(response.responseJSON);
82
                                    $('#shippingError').html(response.responseJSON.message);
83
                                    $('#shippingError').html(response.responseJSON.message);
83
                                    let errors = response.responseJSON.errors
84
                                    let errors = response.responseJSON.errors
84
                                    if(errors.name)
85
                                    if(errors.name)
85
                                    {
86
                                    {
86
                                        $('#shippingNameError').html(errors.name)
87
                                        $('#shippingNameError').html(errors.name)
Zeile 91... Zeile 92...
91
                                    }
92
                                    }
92
                                    if(errors.price)
93
                                    if(errors.price)
93
                                    {
94
                                    {
94
                                        $('#shippingPriceError').html(errors.price)
95
                                        $('#shippingPriceError').html(errors.price)
95
                                    }
96
                                    }
96
                                    console.log(response.responseJSON);
-
 
97
                                }
97
                                }
98
                            })
98
                            })
99
                        }
99
                        }
100
                    },
100
                    },
101
                    {
101
                    {