Added the new fields to the part edit form.

This commit is contained in:
Jan Böhmer 2019-08-19 14:07:00 +02:00
parent 7517d83f55
commit 6a0adae8f3
17 changed files with 922 additions and 53 deletions

View file

@ -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 #)

View file

@ -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.
*/