This wasn't required or working due to a typo and adds ambiguity between
the summary and description. The correct method for changing the description
or summary is via the layerdetails page.
[YOCTO #7190]
(Bitbake rev:
605298ff3ce919127003dadef95798472327f943)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
name: layerNameInput.val(),
vcs_url: vcsURLInput.val(),
git_ref: gitRefInput.val(),
- summary: $("#layer-summary").val(),
dir_path: $("#layer-subdir").val(),
project_id: ctx.projectId,
layer_deps: layerDepsCsv,
</div>
</div>
- <label class="project-form" for="layer-description">Layer description
- <span class="muted">(optional)</span>
- <span class="icon-question-sign get-help" title="A short layer explanation" />
- </label>
- <textarea id="layer-description" class="input-xxlarge"></textarea>
-
</fieldset>
<fieldset class="air">
<legend>
if layer_created:
layer.layer_source = layer_source
layer.vcs_url = post_data['vcs_url']
- if post_data.has_key('summary'):
- layer.summary = layer.description = post_data['summary']
-
layer.up_date = timezone.now()
layer.save()
else: