mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-16 07:09:33 +00:00
Füge Baugruppen hinzu
This commit is contained in:
parent
98b8c5b788
commit
5bd0741fba
128 changed files with 23830 additions and 109 deletions
|
|
@ -18,6 +18,12 @@
|
|||
//CHANGED jbtronics: Preserve the get parameters (needed so we can pass additional params to query)
|
||||
$.fn.initDataTables.defaults.url = window.location.origin + window.location.pathname + window.location.search;
|
||||
|
||||
$.fn.dataTable.ext.errMode = function(settings, helpPage, message) {
|
||||
if (message.includes('ColReorder')) {
|
||||
console.warn('ColReorder does not fit the number of columns', message);
|
||||
}
|
||||
};
|
||||
|
||||
var root = this,
|
||||
config = $.extend({}, $.fn.initDataTables.defaults, config),
|
||||
state = ''
|
||||
|
|
@ -105,7 +111,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
root.html(data.template);
|
||||
dt = $('table', root).DataTable(dtOpts);
|
||||
if (config.state !== 'none') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue