diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/newproject.html | 2 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/projectconf.html | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/newproject.html b/bitbake/lib/toaster/toastergui/templates/newproject.html index 0265564762..dcb6590642 100644 --- a/bitbake/lib/toaster/toastergui/templates/newproject.html +++ b/bitbake/lib/toaster/toastergui/templates/newproject.html | |||
@@ -72,7 +72,7 @@ | |||
72 | $('.btn-primary').attr('disabled', 'disabled'); | 72 | $('.btn-primary').attr('disabled', 'disabled'); |
73 | 73 | ||
74 | // enable submit button when all required fields are populated | 74 | // enable submit button when all required fields are populated |
75 | $("input#new-project-name").keyup(function() { | 75 | $("input#new-project-name").on('input', function() { |
76 | if ($("input#new-project-name").val().length > 0 ){ | 76 | if ($("input#new-project-name").val().length > 0 ){ |
77 | $('.btn-primary').removeAttr('disabled'); | 77 | $('.btn-primary').removeAttr('disabled'); |
78 | $(".help-inline").css('visibility','hidden'); | 78 | $(".help-inline").css('visibility','hidden'); |
diff --git a/bitbake/lib/toaster/toastergui/templates/projectconf.html b/bitbake/lib/toaster/toastergui/templates/projectconf.html index edcad1821f..0d38a9228b 100644 --- a/bitbake/lib/toaster/toastergui/templates/projectconf.html +++ b/bitbake/lib/toaster/toastergui/templates/projectconf.html | |||
@@ -269,7 +269,7 @@ | |||
269 | }); | 269 | }); |
270 | }); | 270 | }); |
271 | 271 | ||
272 | $(".js-new-config_var").keyup(function(){ | 272 | $(".js-new-config_var").on('input', function(){ |
273 | if ($(this).val().length == 0) { | 273 | if ($(this).val().length == 0) { |
274 | $(".js-apply-change-config_var").attr("disabled","disabled"); | 274 | $(".js-apply-change-config_var").attr("disabled","disabled"); |
275 | } | 275 | } |
@@ -386,7 +386,7 @@ | |||
386 | }); | 386 | }); |
387 | }); | 387 | }); |
388 | 388 | ||
389 | $("#new-distro").keyup(function(){ | 389 | $("#new-distro").on('input', function(){ |
390 | if ($(this).val().length == 0) { | 390 | if ($(this).val().length == 0) { |
391 | $("#apply-change-distro").attr("disabled","disabled"); | 391 | $("#apply-change-distro").attr("disabled","disabled"); |
392 | } | 392 | } |
@@ -469,7 +469,7 @@ | |||
469 | }); | 469 | }); |
470 | }); | 470 | }); |
471 | 471 | ||
472 | $("#new-image_install").keyup(function(){ | 472 | $("#new-image_install").on('input', function(){ |
473 | if ($(this).val().length == 0) { | 473 | if ($(this).val().length == 0) { |
474 | $("#apply-change-image_install").attr("disabled","disabled"); | 474 | $("#apply-change-image_install").attr("disabled","disabled"); |
475 | } | 475 | } |
@@ -629,7 +629,7 @@ | |||
629 | }); | 629 | }); |
630 | 630 | ||
631 | //activate / deactivate save added variable button | 631 | //activate / deactivate save added variable button |
632 | $("#variable, #value").keyup(function() { | 632 | $("#variable, #value").on('input', function() { |
633 | if ( $("#variable").val().length > 0 && $("#value").val().trim().length > 0 ) { | 633 | if ( $("#variable").val().length > 0 && $("#value").val().trim().length > 0 ) { |
634 | $(".save").removeAttr("disabled"); | 634 | $(".save").removeAttr("disabled"); |
635 | } | 635 | } |