Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status change not working on issue detail #124

Open
evs-xsarus opened this issue Aug 6, 2024 · 0 comments
Open

Status change not working on issue detail #124

evs-xsarus opened this issue Aug 6, 2024 · 0 comments

Comments

@evs-xsarus
Copy link

Recently my Redmine instance has been updated and uses dynamic edit 0.9.2 .

To close an issue, I've added a simple button which does nothing more then:

function closeTicket() {
    var option = 5;
    if (optionExists("issue_status_id", 18)) {
        option = 18;
    }
    $("#issue_status_id_dynamic").val(option).trigger("change");
}

The option are those to close the issue.

The trigger starts the post to the server (edit.js), but nothing is changed anymore. If I change the status myself using that dynamic form, the status is changed. I've compared the payload sent to the server and noticed that using my code, the new status_id is missing. Is there another method to achieve this now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant