You are here: Foswiki>Tasks Web>Item14107 (18 Feb 2017, GeorgeClark)Edit Attach

Item14107: Cancel doesn't undo add/delete row or move row actions. Document the restriction.

pencil
Priority: Normal
Current State: Closed
Released In: 2.1.3
Target Release: patch
Applies To: Extension
Component: EditRowPlugin
Branches: Release02x01 master Item14288
Reported By: MichaelShaver
Waiting For:
Last Change By: GeorgeClark
If I am editing a table (EditRowPlugin) and press the AddRow button, the Cancel button does not undo the added row. I feel that the function of the cancel button would be to cancel anything back to the point of me hitting the "Edit" button. It will erase any edits to the cells within the row, but it just doesn't remove the row.

  • My FosWiki:
    • This site is running Foswiki version v2.1.0, Release Foswiki-2.1.0, Plugin API version 2.4
    • EditRowPlugin (19 Mar 2016, 3.315): Inline edit for tables

Description
Description?
Edit --> + --> X = row remians

Please let me know if I can provide any further information.


Confirming this, but the way this plugin works using "ajax" real-time updates, it might have to be fixed with a documentation change. Same is true by the way for delete rows. The delete is done "live" and cancel is not possible. Crawford. I think I asked you about this a while back, but never opened a task.

-- GeorgeClark - 06 Jul 2016

Yes, documentation change. I can't see it being code-fixed any time soon - it would be very complex to undo.

-- Main.CrawfordCurrie - 21 Jan 2017 - 08:58

Updating the documentation to clariy that the 4 row actions - move up, down, insert and delete, are done immediately on the server and cannot be cancelled.

-- GeorgeClark - 21 Jan 2017
 

ItemTemplate edit

Summary Cancel doesn't undo add/delete row or move row actions. Document the restriction.
ReportedBy MichaelShaver
Codebase 2.1.3 beta1, 2.1.2, 2.1.1, 2.1.0, 2.1.0 beta1, 2.0.3, 2.0.2, 2.0.1, 2.0.0
SVN Range
AppliesTo Extension
Component EditRowPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:4ed3a3f482db
TargetRelease patch
ReleasedIn 2.1.3
CheckinsOnBranches Release02x01 master Item14288
trunkCheckins
masterCheckins distro:4ed3a3f482db
ItemBranchCheckins distro:4ed3a3f482db
Release02x01Checkins distro:4ed3a3f482db
Release02x00Checkins
Release01x01Checkins
Topic revision: r6 - 18 Feb 2017, GeorgeClark - This page was cached on 11 Apr 2017 - 10:11.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License