diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static/js/base.js')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/base.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/base.js b/bitbake/lib/toaster/toastergui/static/js/base.js index 619ad28..0302b80 100644 --- a/bitbake/lib/toaster/toastergui/static/js/base.js +++ b/bitbake/lib/toaster/toastergui/static/js/base.js @@ -71,13 +71,13 @@ function basePageInit (ctx) { /* Any typing in the input apart from enter key is going to invalidate * the value that has been set by selecting a suggestion from the typeahead */ - newBuildProjectInput.keyup(function(event) { + newBuildProjectInput.on('input', function(event) { if (event.keyCode == 13) return; newBuildProjectSaveBtn.attr("disabled", "disabled"); }); - newBuildTargetInput.keyup(function() { + newBuildTargetInput.on('input', function() { if ($(this).val().length == 0) newBuildTargetBuildBtn.attr("disabled", "disabled"); else |