WebVOWL_work
Changes
src/app/js/sidebar.js 9(+9 -0)
Details
src/app/js/sidebar.js 9(+9 -0)
diff --git a/src/app/js/sidebar.js b/src/app/js/sidebar.js
index 4442c1d..7ac0e93 100644
--- a/src/app/js/sidebar.js
+++ b/src/app/js/sidebar.js
@@ -183,6 +183,15 @@ module.exports = function ( graph ){
return;
}
+ // In edit mode the right panel is #generalDetailsEdit — delegate there
+ if ( graph.editorMode && graph.editorMode() ) {
+ var es = graph.options().editSidebar();
+ if ( es && es.updateSelectionInformation ) {
+ es.updateSelectionInformation(selectedElement);
+ }
+ return;
+ }
+
if ( !selectedElement ) {
clearSelectedNodePanel();
return;