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

oops: Fix Reset Button(s) #3898

Merged
merged 1 commit into from Sep 5, 2019
Merged

Conversation

JediKev
Copy link
Contributor

@JediKev JediKev commented Jul 18, 2017

This addresses issue #3670 where the reset button does nothing but return
an error. This adds a check for data-draft-id to the reset button. If
there is one it will delete the draft and reset the text box. If there is
not one then it will just reset the text box.

Also includes:

  • A line to add the data-draft-id to the text box automatically, when a
    draft is saved, through AJAX.

This addresses issue 3670 where the reset button does nothing but return
an error. This adds a check for `data-draft-id` to the reset button. If
there is one it will delete the draft and reset the text box. If there is
not one then it will just reset the text box.
Also includes:
- A line to add the `data-draft-id` to the text box automatically, when a
draft is saved, through AJAX.
@balojs
Copy link

balojs commented Jul 18, 2017

thanks @JediKev

@perryk perryk mentioned this pull request Jul 29, 2018
@protich protich merged commit 6b639d6 into osTicket:develop Sep 5, 2019
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

Successfully merging this pull request may close these issues.

None yet

3 participants