diff options
| author | Michael Wood <michael.g.wood@intel.com> | 2016-07-21 14:43:27 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-26 08:10:36 +0100 |
| commit | ef627d0ab8f5cf2fc72005393e76047cb623ff3d (patch) | |
| tree | ae0067545010621d688baea77197ec50c7db7acc /bitbake/lib/toaster/toastergui/static | |
| parent | ffc78d329d6fed9ae9a0db470d30033069b42f8f (diff) | |
| download | poky-ef627d0ab8f5cf2fc72005393e76047cb623ff3d.tar.gz | |
bitbake: toaster: Replace references to LayerSource models
Replace references to the now deprecated layersource models across
Toaster with the new enums for layer source types.
(Bitbake rev: 48c09c62eb979d840132e58144f0d81ffee675b1)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/layerdetails.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js index 683486e53b..0d4240b354 100644 --- a/bitbake/lib/toaster/toastergui/static/js/layerdetails.js +++ b/bitbake/lib/toaster/toastergui/static/js/layerdetails.js | |||
| @@ -366,7 +366,7 @@ function layerDetailsPageInit (ctx) { | |||
| 366 | if ($(this).is("dt")) { | 366 | if ($(this).is("dt")) { |
| 367 | var dd = $(this).next("dd"); | 367 | var dd = $(this).next("dd"); |
| 368 | if (!dd.children("form:visible")|| !dd.find(".current-value").html()){ | 368 | if (!dd.children("form:visible")|| !dd.find(".current-value").html()){ |
| 369 | if (ctx.layerVersion.sourceId == 3){ | 369 | if (ctx.layerVersion.layer_source == ctx.layerSourceTypes.TYPE_IMPORTED){ |
| 370 | /* There's no current value and the layer is editable | 370 | /* There's no current value and the layer is editable |
| 371 | * so show the "Not set" and hide the delete icon | 371 | * so show the "Not set" and hide the delete icon |
| 372 | */ | 372 | */ |
