diff --git a/importexport/js/app.ts b/importexport/js/app.ts
index 6902294dbe..fbc44a4285 100644
--- a/importexport/js/app.ts
+++ b/importexport/js/app.ts
@@ -203,6 +203,27 @@ class ImportExportApp extends EgwApp
widget.set_value(value);
}
}
+
+ /**
+ * Open a specific import/export definition dialog by clicking on the icon from the list
+ * @param widget
+ */
+ open_definition(event, widget)
+ {
+ const mgr = widget.getArrayMgr("content");
+ const data = mgr.getEntry(mgr.perspectiveData.row) || {};
+ const type = data.type || "";
+ const application = data.application || "";
+ const definition_id = data.definition_id || "";
+ this.egw.openPopup(
+ this.egw.link("/index.php", {
+ menuaction: "importexport.importexport_" + type + "_ui." + type + "_dialog",
+ appname: application,
+ definition: definition_id
+ }),
+ 850, 440
+ )
+ }
}
app.classes.importexport = ImportExportApp;
diff --git a/importexport/templates/default/definition_index.xet b/importexport/templates/default/definition_index.xet
index 4afaee43a6..6fd98f044b 100644
--- a/importexport/templates/default/definition_index.xet
+++ b/importexport/templates/default/definition_index.xet
@@ -20,7 +20,8 @@
-
+