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>') return $('<input>')
.attr( .attr(
Ox.extend({ Ox.extend({
title: self.multiple ? 'Add Files' : 'Select File', title: self.options.title,
type: 'file' type: 'file'
}, self.multiple ? { }, self.multiple ? {
multiple: true multiple: true