summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/projectconf.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/projectconf.html b/bitbake/lib/toaster/toastergui/templates/projectconf.html
index fcf6df2bf8..0e9712b39e 100644
--- a/bitbake/lib/toaster/toastergui/templates/projectconf.html
+++ b/bitbake/lib/toaster/toastergui/templates/projectconf.html
@@ -63,6 +63,7 @@
63 <button id="cancel-change-image_fstypes" type="button" class="btn btn-link">Cancel</button> 63 <button id="cancel-change-image_fstypes" type="button" class="btn btn-link">Cancel</button>
64 </div> 64 </div>
65 <p class="help-block text-danger" style="display:none;" id="hintError-image-fs_type">A valid image type cannot include underscores</p> 65 <p class="help-block text-danger" style="display:none;" id="hintError-image-fs_type">A valid image type cannot include underscores</p>
66 <p class="help-block text-danger" style="display:none;" id="fstypes-error-message">You must select at least one image type</p>
66 <label>Or choose from known image types:</label> 67 <label>Or choose from known image types:</label>
67 <input id="filter-image_fstypes" type="text" placeholder="Search image types" class="form-control"> 68 <input id="filter-image_fstypes" type="text" placeholder="Search image types" class="form-control">
68 <div id="all-image_fstypes" class="scrolling"></div> 69 <div id="all-image_fstypes" class="scrolling"></div>
@@ -716,8 +717,10 @@ $(document).ready(function() {
716 } 717 }
717 if ($('#new-imagefs_types').val().length === 0) { 718 if ($('#new-imagefs_types').val().length === 0) {
718 $("#apply-change-image_fstypes").prop("disabled", true); 719 $("#apply-change-image_fstypes").prop("disabled", true);
720 $('#fstypes-error-message').show();
719 } else { 721 } else {
720 $("#apply-change-image_fstypes").prop("disabled", false); 722 $("#apply-change-image_fstypes").prop("disabled", false);
723 $('#fstypes-error-message').hide();
721 } 724 }
722 }); 725 });
723 726