mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-19 18:34:38 +02:00
Added the new fields to the part edit form.
This commit is contained in:
parent
7517d83f55
commit
6a0adae8f3
17 changed files with 922 additions and 53 deletions
|
@ -243,7 +243,7 @@ class AjaxUI {
|
|||
public registerLinks()
|
||||
{
|
||||
// Unbind all old handlers, so the things are not executed multiple times.
|
||||
$('a').not(".link-external, [data-no-ajax], .page-link, [href^='#']").unbind('click').click(function (event) {
|
||||
$('a').not(".link-external, [data-no-ajax], .page-link, [href^='javascript'], [href^='#']").unbind('click').click(function (event) {
|
||||
let a = $(this);
|
||||
let href = $.trim(a.attr("href"));
|
||||
//Ignore links without href attr and nav links ('they only have a #)
|
||||
|
|
|
@ -218,6 +218,11 @@ $(document).on("ajaxUI:reload", function () {
|
|||
$(".file").fileinput();
|
||||
});
|
||||
|
||||
$(document).on("ajaxUI:reload", function () {
|
||||
//@ts-ignore
|
||||
$("input[data-role='tagsinput']").tagsinput();
|
||||
});
|
||||
|
||||
/**
|
||||
* Register the button, to jump to the top of the page.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue