[bitbake-devel] [PATCH 18/22] bitbake: toastergui: newbuildbutton Fix typo on project save function

Ed Bartosh ed.bartosh at linux.intel.com
Fri Jul 31 12:09:19 UTC 2015


From: Michael Wood <michael.g.wood at intel.com>

project.id rather than project.pk.

Signed-off-by: Michael Wood <michael.g.wood at intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
 lib/toaster/toastergui/static/js/base.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/toaster/toastergui/static/js/base.js b/lib/toaster/toastergui/static/js/base.js
index dda2549..09c3ef1 100644
--- a/lib/toaster/toastergui/static/js/base.js
+++ b/lib/toaster/toastergui/static/js/base.js
@@ -145,7 +145,7 @@ function basePageInit(ctx) {
 
 
     newBuildProjectSaveBtn.click(function () {
-      selectedProject.projectId = selectedProject.pk;
+      selectedProject.projectId = selectedProject.id;
       /* Update the typeahead project_id paramater */
       _checkProjectBuildable();
 
-- 
2.1.4




More information about the bitbake-devel mailing list