summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/projectconf.html
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/projectconf.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/projectconf.html8
1 files changed, 4 insertions, 4 deletions
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 }