always use file button title as tooltip

This commit is contained in:
rolux 2012-06-17 19:15:05 +02:00
parent fdb8a2b98b
commit 69acb4a04e

View file

@ -88,7 +88,7 @@ Ox.FileButton = function(options, self) {
return $('<input>')
.attr(
Ox.extend({
title: self.multiple ? 'Add Files' : 'Select File',
title: self.options.title,
type: 'file'
}, self.multiple ? {
multiple: true