Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
44 righe
1.5 KiB
44 righe
1.5 KiB
/*! |
|
* Bootstrap-select v1.11.0 (http://silviomoreto.github.io/bootstrap-select) |
|
* |
|
* Copyright 2013-2016 bootstrap-select |
|
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE) |
|
*/ |
|
|
|
(function (root, factory) { |
|
if (typeof define === 'function' && define.amd) { |
|
// AMD. Register as an anonymous module unless amdModuleId is set |
|
define(["jquery"], function (a0) { |
|
return (factory(a0)); |
|
}); |
|
} else if (typeof exports === 'object') { |
|
// Node. Does not work with strict CommonJS, but |
|
// only CommonJS-like environments that support module.exports, |
|
// like Node. |
|
module.exports = factory(require("jquery")); |
|
} else { |
|
factory(jQuery); |
|
} |
|
}(this, function (jQuery) { |
|
|
|
(function ($) { |
|
$.fn.selectpicker.defaults = { |
|
noneSelectedText: 'Aucune sélection', |
|
noneResultsText: 'Aucun résultat pour {0}', |
|
countSelectedText: function (numSelected, numTotal) { |
|
return (numSelected > 1) ? "{0} éléments sélectionnés" : "{0} élément sélectionné"; |
|
}, |
|
maxOptionsText: function (numAll, numGroup) { |
|
return [ |
|
(numAll > 1) ? 'Limite atteinte ({n} éléments max)' : 'Limite atteinte ({n} élément max)', |
|
(numGroup > 1) ? 'Limite du groupe atteinte ({n} éléments max)' : 'Limite du groupe atteinte ({n} élément max)' |
|
]; |
|
}, |
|
multipleSeparator: ', ', |
|
selectAllText: 'Tout Sélectionner', |
|
deselectAllText: 'Tout Dé-selectionner', |
|
}; |
|
})(jQuery); |
|
|
|
|
|
}));
|
|
|