Skip to content
Snippets Groups Projects
Unverified Commit 144e6e7d authored by Tihomir Surdilovic's avatar Tihomir Surdilovic Committed by GitHub
Browse files

JBPM-7290 - Deselect all elements if json update is done when no exporter is defined (#791)

parent f8e761e7
Branches
Tags
No related merge requests found
......@@ -274,9 +274,18 @@ ORYX.Plugins.SavePlugin = Clazz.extend({
});
// import updated json
this.facade.importJSON(currentJSON);
// set as updated
ORYX.JSON_UPDATED = true;
// deselect nodes on canvas
this.facade.setSelection([]);
// do not set the process as unsaved
ORYX.PROCESS_SAVED = true;
}
}
} catch (err) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment