Skip to content

Commit

Permalink
FIxes
Browse files Browse the repository at this point in the history
  • Loading branch information
mfendeksilverstripe committed Nov 29, 2022
1 parent 051ba26 commit 3bb0707
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/src/legacy/VersionedEditForm/VersionedEditForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jQuery.entwine('ss', ($) => {
'Are you sure you want to remove your record from the published site?\n\nThis record will still be available in the CMS as draft.'
);

// eslint-disable-next-line no-alert
if (confirm(message)) {
// Add a loading indicator and continue
this.parents('form:first').addClass('loading');
Expand Down Expand Up @@ -49,6 +50,7 @@ jQuery.entwine('ss', ($) => {
'Warning: This record will be unpublished before being sent to the archive.\n\nAre you sure you want to proceed?'
);

// eslint-disable-next-line no-alert
if (confirm(message)) {
// Add a loading indicator and continue
this.parents('form:first').addClass('loading');
Expand Down

0 comments on commit 3bb0707

Please sign in to comment.