#5 issue: url per lista categoria e tags ripristinato
This commit is contained in:
parent
327e1258c3
commit
dd2bd1b56f
4
public/js/app/movimenti.js
vendored
4
public/js/app/movimenti.js
vendored
@ -58,7 +58,7 @@ $(document).on('click', '.open_modal_modifica', function() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$.getJSON("service/catlist", {}, function(data) {
|
$.getJSON("/admin/service/catlist", {}, function(data) {
|
||||||
$.each(data, function(i, item) {
|
$.each(data, function(i, item) {
|
||||||
$("select[name='mov_fk_categoria']").append(
|
$("select[name='mov_fk_categoria']").append(
|
||||||
new Option(item.cat_name, item.id)
|
new Option(item.cat_name, item.id)
|
||||||
@ -67,7 +67,7 @@ $.getJSON("service/catlist", {}, function(data) {
|
|||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
$.getJSON("service/taglist", {}, function(data) {
|
$.getJSON("/admin/service/taglist", {}, function(data) {
|
||||||
$.each(data, function(i, item) {
|
$.each(data, function(i, item) {
|
||||||
$("select[name='mov_fk_tags']").append(
|
$("select[name='mov_fk_tags']").append(
|
||||||
new Option(item.tag_name, item.id)
|
new Option(item.tag_name, item.id)
|
||||||
|
Loading…
Reference in New Issue
Block a user