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

Revision

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

Revision 290 Revision 291
Zeile 60... Zeile 60...
60
                            {/if}
60
                            {/if}
61
                            if($("#shippingID").val())
61
                            if($("#shippingID").val())
62
                            {
62
                            {
63
                                url+="/"+$("#shippingID").val()
63
                                url+="/"+$("#shippingID").val()
64
                            }
64
                            }
65
                            $.post(url,$('#shippingForm').serializeArray(),function(){
65
                            /*$.post(url,$('#shippingForm').serializeArray(),function(){
66
                                $('#editShippingDlg').dialog("close")
66
                                $('#editShippingDlg').dialog("close")
67
                            }).fail(function(json)
67
                            }).fail(function(json)
68
                            {
68
                            {
69
                                console.log(json.response);
69
                                console.log(json.response);
-
 
70
                            });*/
-
 
71
                            $.ajax({
-
 
72
                                type:"post",
-
 
73
                                url:url,
-
 
74
                                data:$('#shippingForm').serializeArray(),
-
 
75
                                success:function ()
-
 
76
                                {
-
 
77
                                    $('#editShippingDlg').dialog("close")
-
 
78
                                },
-
 
79
                                fail:function (response)
-
 
80
                                {
-
 
81
                                    console.log(response.responseJSON);
-
 
82
                                }
70
                            });
83
                            })
71
                        }
84
                        }
72
                    },
85
                    },
73
                    {
86
                    {
74
                        text:"Abbrechen",
87
                        text:"Abbrechen",
75
                        icon:"ui-icon-cancel",
88
                        icon:"ui-icon-cancel",