diff --git a/src/module_gtf/module/javascript/script_module.js b/src/module_gtf/module/javascript/script_module.js index 0aae7bb9c4ed4bc4c2a06a47cf0fc017c54dc5a4..1b61f04f0cce9ac5e8caeef7ed1515889e5698f4 100755 --- a/src/module_gtf/module/javascript/script_module.js +++ b/src/module_gtf/module/javascript/script_module.js @@ -1116,7 +1116,9 @@ vitisApp.on('appMainDrtvLoaded', function () { $timeout(function () { // Evènement sur le <select> des projets Fme. document.getElementById("workspace_id").addEventListener("change", function () { - scope["loadSubForm"](this.value, scope, element); + angular.element(element).empty(); + if (this.value != "") + scope["loadSubForm"](this.value, scope, element); }); }, 100); } else {