Ewl » Canonical The canonical version of EWL Read More
Clone URL:  
Pushed to 2 repositories · View In Graph Contained in tip and canonical

Fixed breaking change in file-collection manager.

Changeset a3391110a57b

Parent 8b7e7632ab9e

by Profile picture of William GrossWilliam Gross

Changes to one file · Browse files at a3391110a57b Showing diff from parent 8b7e7632ab9e Diff from another changeset...

 
42
43
44
45
46
47
48
49
50
51
52
 
219
220
221
222
 
223
224
225
 
42
43
44
 
 
 
 
 
45
46
47
 
214
215
216
 
217
218
219
220
@@ -42,11 +42,6 @@
  public bool AcceptOnlyImages { get; set; }     /// <summary> - /// Set this if you want to perform custom validation on any (renderable) images added to this manager. - /// </summary> - public Action<Validator, System.Drawing.Image> ValidateImage { private get { return validateImage; } set { validateImage = value; } } - - /// <summary>   /// Set the method to execute when a new file is uploaded.   /// </summary>   public NewFileNotificationMethod NewFileNotificationMethod { private get; set; } @@ -219,7 +214,7 @@
  () => {   var fi = new FileUpload(   validationMethod: ( postBackValue, validator ) => { - BlobManagementStatics.ValidateUploadedFile( validator, postBackValue, acceptableFileExtensions, ValidateImage, AcceptOnlyImages ); + BlobManagementStatics.ValidateUploadedFile( validator, postBackValue, acceptableFileExtensions, AcceptOnlyImages );   file = postBackValue;   } ).ToFormItem();