You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* BUGFIX: $h.isEmpty treat value = function() with zero args, as empty
due to value.length === 0 => https://developer.mozilla.org/ru/docs/Web/JavaScript/Reference/Global_Objects/Function/length
isEmpty should check is the value of type "function" before check its length.
ex:
```
...
uploadUrl: function() { return ajax_url + '/upload/' + $el.data('id'); }
...
```
```self.isAjaxUpload = $h.hasFileUploadSupport() && !$h.isEmpty(self.uploadUrl); // => false, but must be true```
* Update fileinput.js
* Update fileinput.min.js
0 commit comments