Skins: Cannot delete when JavaScript is disabled

Description

What steps will reproduce the problem?

  1. With JavaScript disabled, log in

  2. Hi, username! > My Dashboard > Skins > Create Site Skin

  3. Fill in required information

  4. Submit

  5. Press "Delete" for the skin you created

What is the expected output? What do you see instead?

I expect to be taken to a confirmation page that asks me if I want to delete the skin, and when I confirm that I do want that, I expect the skin to be deleted. (The confirmation page should follow the pattern of other such pages, e.g. the collection confirm_delete page.)

Instead, I am taken to skin show page. It is not deleted.

Notes:

Search for "delete JavaScript" to see other issues like this.

Activity

Show:
Sarken
December 5, 2020, 9:03 PM

reviewers: redsummernight, Sarken

Sarken
December 11, 2020, 2:57 PM

I went to my skins page and used the “Delete” button. The skin was successfully deleted, yay!

However, there’s a minor issue: the message said

Are you sure you want to delete the skin \"Green test\"?

We should tweak this so the backslashes aren’t there.

Sarken
December 24, 2020, 5:25 PM

The slashes are gone, yay!

Are you sure you want to delete the skin "tag landing list"?

QED
December 24, 2020, 7:29 PM

I went to my skin page, made a skin and then pressed 'Delete' - it works perfectly!

DeployedToBeta

Assignee

Alix R

Reporter

Sarken

Roadmap

Skins

Priority

Low

Affects versions

Fix versions

Components

BackEnd
FrontEnd

Difficulty

Easy

Milestone

Internal 0.9