From: Michael Wood <[email protected]>

The input checkbox needed to be before the label text.

Signed-off-by: Michael Wood <[email protected]>
---
 bitbake/lib/toaster/toastergui/static/js/table.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitbake/lib/toaster/toastergui/static/js/table.js 
b/bitbake/lib/toaster/toastergui/static/js/table.js
index fbf0f07..9fda21b 100644
--- a/bitbake/lib/toaster/toastergui/static/js/table.js
+++ b/bitbake/lib/toaster/toastergui/static/js/table.js
@@ -251,7 +251,7 @@ function tableInit(ctx){
       tableHeadRow.append(header);
 
       /* Now setup the checkbox state and click handler */
-      var toggler = $('<li><label class="checkbox">'+col.title+'<input 
type="checkbox" id="checkbox-'+ col.field_name +'" class="col-toggle" 
value="'+col.field_name+'" /></label></li>');
+      var toggler = $('<li><label class="checkbox"><input type="checkbox" 
id="checkbox-'+ col.field_name +'" class="col-toggle" 
value="'+col.field_name+'" />'+col.title+'</label></li>');
 
       var togglerInput = toggler.find("input");
 
-- 
1.9.1

-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to