fix the cancel button for editing cards
The javascript was checking for the parameters assuming the backend provided version information. The community edition backend does not supply any versioning information so the javascript checks both locations
This commit is contained in:
parent
36ff1deefc
commit
36b3236415
@ -292,8 +292,14 @@ console.log("Record.processData", someValues);
|
||||
this.setCurrentVersionKey(this.key());
|
||||
}
|
||||
|
||||
// currentVersionParameters = someValues['currentVersion'];
|
||||
// community edition doesn't currently pass version
|
||||
// information
|
||||
if (someValues['versions'] == null) {
|
||||
currentVersionParameters = someValues['currentVersion'];
|
||||
} else {
|
||||
currentVersionParameters = someValues['versions'][someValues['currentVersion']];
|
||||
}
|
||||
|
||||
console.log("Record.processData - this.currentVersionKey()", this.currentVersionKey());
|
||||
console.log("Record.processData - currentVersionParameters", currentVersionParameters);
|
||||
currentVersionParameters['key'] = this.currentVersionKey();
|
||||
|
Loading…
Reference in New Issue
Block a user