mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 20:36:15 +02:00
Fixed link userfield saving (fixes #2670)
This commit is contained in:
parent
ebcc9a422e
commit
b7c4011e80
|
|
@ -46,7 +46,7 @@
|
||||||
|
|
||||||
### Userfields
|
### Userfields
|
||||||
|
|
||||||
- xxx
|
- Fixed that saving Userfields of type "Link (with title)" did not work
|
||||||
|
|
||||||
### General
|
### General
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -384,7 +384,7 @@ $(".userfield-link").keyup(function(e)
|
||||||
"link": link
|
"link": link
|
||||||
};
|
};
|
||||||
|
|
||||||
formRow.find(".userfield-input").val(JSON.stringify(value));
|
formRow.find(".userfield-input").val(JSON.stringify(value)).addClass("is-dirty");
|
||||||
});
|
});
|
||||||
|
|
||||||
$(".userfield-input").change(function(e)
|
$(".userfield-input").change(function(e)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user