diff options
| -rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/base.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/base.js b/bitbake/lib/toaster/toastergui/static/js/base.js index fac59e6458..619ad287c4 100644 --- a/bitbake/lib/toaster/toastergui/static/js/base.js +++ b/bitbake/lib/toaster/toastergui/static/js/base.js | |||
| @@ -11,6 +11,10 @@ function basePageInit (ctx) { | |||
| 11 | return; | 11 | return; |
| 12 | } | 12 | } |
| 13 | 13 | ||
| 14 | /* Hide the change project icon when there is only one project */ | ||
| 15 | if (ctx.numProjects == 1){ | ||
| 16 | $('#project .icon-pencil').hide(); | ||
| 17 | } | ||
| 14 | 18 | ||
| 15 | newBuildButton.show().removeAttr("disabled"); | 19 | newBuildButton.show().removeAttr("disabled"); |
| 16 | 20 | ||
