Skip to content

Commit f0a580d

Browse files
committed
add dataType: json
1 parent f009183 commit f0a580d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/ServiceStack.MovieRest/ServiceStack.MovieRest.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
</FileUpgradeFlags>
1717
<OldToolsVersion>3.5</OldToolsVersion>
1818
<UpgradeBackupLocation />
19+
<UseIISExpress>false</UseIISExpress>
1920
</PropertyGroup>
2021
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2122
<DebugSymbols>true</DebugSymbols>
@@ -97,8 +98,7 @@
9798
<Content Include="Global.asax" />
9899
<Content Include="img\bg-body-1024.png" />
99100
<Content Include="img\btn-github.png" />
100-
<Content Include="jquery-1.4.2.min.js" />
101-
<Content Include="jquery.form.js" />
101+
<Content Include="jquery-1.7.1.min.js" />
102102
<Content Include="Web.config">
103103
<SubType>Designer</SubType>
104104
</Content>

src/ServiceStack.MovieRest/default.htm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,9 @@
141141
});
142142
$.ajax({
143143
url: $("FORM").attr("action"),
144-
type: "POST",
144+
type: "POST",
145145
data: data,
146+
dataType: "json",
146147
success: function ()
147148
{
148149
restLog($('FORM').attr('method'), $('FORM').attr('action'));

0 commit comments

Comments
 (0)