diff --git a/src/main/webapp/frontEndResources/js/SlickGrid/custom/variableSpecification.js b/src/main/webapp/frontEndResources/js/SlickGrid/custom/variableSpecification.js index 3d1b8f5f..3aff3ead 100644 --- a/src/main/webapp/frontEndResources/js/SlickGrid/custom/variableSpecification.js +++ b/src/main/webapp/frontEndResources/js/SlickGrid/custom/variableSpecification.js @@ -302,6 +302,16 @@ function bindHeaderButtonsPluginEvent(headerButtonsPlugin, colNumber, grid, step $(this).dialog("close"); } + }, + open: function() { + $(document).on("keypress", (function(e) { + if(e.which == 13) { + $("button:contains('done')").trigger("click"); + } + })); + }, + close: function() { + $(document).off("keypress"); } });