add_entry fix
This commit is contained in:
parent
81b1e781e5
commit
3e2bd20a63
@ -62,7 +62,11 @@ function add_entry() {
|
||||
}
|
||||
|
||||
function edit_submit_entry() {
|
||||
$.post("/api/remove_entry", "section=actions&entry_id="+($.urlParam("script_id")), function(data, status) {
|
||||
if ($.urlParam("script_id") != "-1") {
|
||||
$.post("/api/remove_entry", "section=actions&entry_id="+($.urlParam("script_id")), function(data, status) {
|
||||
add_entry();
|
||||
});
|
||||
} else {
|
||||
add_entry();
|
||||
});
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user