Skip to content

Commit db56937

Browse files
committed
Release 1.8.3. Fixes Multi Upload for Perplex Image Upload.
Merges pull request by John McKillip which fixes the issue.
1 parent 3f45630 commit db56937

File tree

4 files changed

+12
-29
lines changed

4 files changed

+12
-29
lines changed

Perplex.Umbraco.Forms/FieldTypes/PerplexBaseFileFieldType.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@ public override Dictionary<string, Setting> Settings()
123123
view = "TextField"
124124
}
125125
},
126+
127+
{
128+
"MultiUpload",
129+
new Setting("Multi upload")
130+
{
131+
description = "If checked, allows the user to upload multiple files",
132+
view = "checkbox"
133+
}
134+
}
126135
};
127136
}
128137
}

Perplex.Umbraco.Forms/FieldTypes/PerplexFileUpload.cs

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,6 @@ public PerplexFileUpload()
2525
DataType = FieldDataType.String;
2626
SortOrder = 10;
2727
Category = "Simple";
28-
}
29-
30-
public override Dictionary<string, Setting> Settings()
31-
{
32-
Dictionary<string, Setting> settings = base.Settings() ?? new Dictionary<string, Setting>();
33-
34-
settings.Add("MultiUpload", new Setting("Multi upload")
35-
{
36-
description = "If checked, allows the user to upload multiple files",
37-
view = "checkbox"
38-
});
39-
40-
return settings;
41-
}
28+
}
4229
}
4330
}

Perplex.Umbraco.Forms/FieldTypes/PerplexImageUpload.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,5 @@ public PerplexImageUpload()
2121
SortOrder = 10;
2222
Category = "Simple";
2323
}
24-
25-
public override Dictionary<string, Setting> Settings()
26-
{
27-
Dictionary<string, Setting> settings = base.Settings() ?? new Dictionary<string, Setting>();
28-
29-
settings.Add("MultiUpload", new Setting("Multi upload")
30-
{
31-
description = "If checked, allows the user to upload multiple files",
32-
view = "checkbox"
33-
});
34-
35-
return settings;
36-
}
3724
}
3825
}

Perplex.Umbraco.Forms/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.0.0.0")]
36-
[assembly: AssemblyFileVersion("1.0.0.0")]
35+
[assembly: AssemblyVersion("1.8.3.*")]
36+
[assembly: AssemblyInformationalVersion("1.8.3")]

0 commit comments

Comments
 (0)