Skip to content

Sortable handle on styklister#211

Open
logicguy1 wants to merge 3 commits intomasterfrom
sortable-handle-on-styklister
Open

Sortable handle on styklister#211
logicguy1 wants to merge 3 commits intomasterfrom
sortable-handle-on-styklister

Conversation

@logicguy1
Copy link
Contributor

2026-02-20 22-10-44

What are the changes about?

The team added a drag handle to order lines, so i thought i would do the same for styklister (giving some love to the vare system tonight <3)

I also changed the sortable.min.js CDN call to be local as to comply with the second check on the PR request checklist. Everything is tested with the order system and it still works fine, it is just local.
At line 1852 of varekort.php i changed the border from being on the last child to being on the row containing the total, this is a simpler approach and means that if you drag the last line it does not also carry the border with it (lol)

Have you checked the following?

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.

1 participant