Ox.FileInput: add public clear method
This commit is contained in:
parent
619aa33d8d
commit
dbd0db9b3f
1 changed files with 6 additions and 0 deletions
|
@ -324,5 +324,11 @@ Ox.FileInput = function(options, self) {
|
|||
.appendTo(self.$bar);
|
||||
}
|
||||
|
||||
that.clear = function() {
|
||||
clearFile();
|
||||
return that;
|
||||
};
|
||||
|
||||
return that;
|
||||
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue