| 776 |
lars |
1 |
/*!
|
|
|
2 |
* Bootstrap-select v1.9.3 (http://silviomoreto.github.io/bootstrap-select)
|
|
|
3 |
*
|
|
|
4 |
* Copyright 2013-2015 bootstrap-select
|
|
|
5 |
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
|
|
|
6 |
*/
|
|
|
7 |
|
|
|
8 |
(function (root, factory) {
|
|
|
9 |
if (typeof define === 'function' && define.amd) {
|
|
|
10 |
// AMD. Register as an anonymous module unless amdModuleId is set
|
|
|
11 |
define(["jquery"], function (a0) {
|
|
|
12 |
return (factory(a0));
|
|
|
13 |
});
|
|
|
14 |
} else if (typeof exports === 'object') {
|
|
|
15 |
// Node. Does not work with strict CommonJS, but
|
|
|
16 |
// only CommonJS-like environments that support module.exports,
|
|
|
17 |
// like Node.
|
|
|
18 |
module.exports = factory(require("jquery"));
|
|
|
19 |
} else {
|
|
|
20 |
factory(jQuery);
|
|
|
21 |
}
|
|
|
22 |
}(this, function (jQuery) {
|
|
|
23 |
|
|
|
24 |
/*!
|
|
|
25 |
* Bootstrap-select v1.8.1 (http://silviomoreto.github.io/bootstrap-select)
|
|
|
26 |
*
|
|
|
27 |
* Copyright 2013-2015 bootstrap-select
|
|
|
28 |
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
|
|
|
29 |
*/
|
|
|
30 |
|
|
|
31 |
(function (root, factory) {
|
|
|
32 |
if (typeof define === 'function' && define.amd) {
|
|
|
33 |
// AMD. Register as an anonymous module unless amdModuleId is set
|
|
|
34 |
define(["jquery"], function (a0) {
|
|
|
35 |
return (factory(a0));
|
|
|
36 |
});
|
|
|
37 |
} else if (typeof exports === 'object') {
|
|
|
38 |
// Node. Does not work with strict CommonJS, but
|
|
|
39 |
// only CommonJS-like environments that support module.exports,
|
|
|
40 |
// like Node.
|
|
|
41 |
module.exports = factory(require("jquery"));
|
|
|
42 |
} else {
|
|
|
43 |
factory(jQuery);
|
|
|
44 |
}
|
|
|
45 |
}(this, function (jQuery) {
|
|
|
46 |
|
|
|
47 |
(function ($) {
|
|
|
48 |
$.fn.selectpicker.defaults = {
|
|
|
49 |
noneSelectedText: 'Ingen valgt',
|
|
|
50 |
noneResultsText: 'Søket gir ingen treff {0}',
|
|
|
51 |
countSelectedText: function (numSelected, numTotal) {
|
|
|
52 |
return (numSelected == 1) ? "{0} alternativ valgt" : "{0} alternativer valgt";
|
|
|
53 |
},
|
|
|
54 |
maxOptionsText: function (numAll, numGroup) {
|
|
|
55 |
return [
|
|
|
56 |
(numAll == 1) ? 'Grense nådd (maks {n} valg)' : 'Grense nådd (maks {n} valg)',
|
|
|
57 |
(numGroup == 1) ? 'Grense for grupper nådd (maks {n} grupper)' : 'Grense for grupper nådd (maks {n} grupper)'
|
|
|
58 |
];
|
|
|
59 |
},
|
|
|
60 |
selectAllText: 'Merk alle',
|
|
|
61 |
deselectAllText: 'Fjern alle',
|
|
|
62 |
multipleSeparator: ', '
|
|
|
63 |
};
|
|
|
64 |
})(jQuery);
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
}));
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
}));
|