| Numéro d’ID de bogue |
BUG-000112701 |
| Envoi | March 26, 2018 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS API for JavaScript |
| Version trouvée | 3.23 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| Statut | Will Not Be Addressed
L’équipe de développement a examiné le problème ou la demande et a décidé qu’ils ne seraient pas traités. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
Informations supplémentaires
This is by design - since the Editor widget is not being used, you will need to listen to onUndoComplete and onRedoComplete and update the list of operations with the appropriate IDs. The Editor widget does this under the hood similarly to this,
_updateUndoRedoOperations: function(event) {
if (event && event.addedIds) {
var i;
for(i = 0; i < undoManager.length; i++) {
var operation = undoManager.get(i);
if (operation && event.layer === operation._featureLayer) {
operation.updateObjectIds(event.oldIds, event.addedIds);
}
}
}
}
It is important to note that the UndoManager is agnostic to operations. It does not know that a specific operation is for editing or something else.
Étapes pour reproduire
ID de bogue: BUG-000112701
Logiciel:
- ArcGIS API for JavaScript