We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d48ffd commit 93a5753Copy full SHA for 93a5753
lib/client/autoform.js
@@ -1,5 +1,5 @@
1
-AutoForm.addInputType("fileUpload", {
2
- template: "afFileUpload"
+AutoForm.addInputType('fileUpload', {
+ template: 'afFileUpload'
3
});
4
5
AutoForm._globalHooks.onSuccess.push(function (type) {
@@ -8,7 +8,9 @@ AutoForm._globalHooks.onSuccess.push(function (type) {
8
if (this.template) {
9
this.template.$('[data-reset-file]').click();
10
}
11
- } catch (e) {}
+ } catch (e) {
12
+ // we're good here
13
+ }
14
15
16
0 commit comments