summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Lerner <dave.lerner@windriver.com>2015-03-12 13:55:27 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-21 00:00:26 +0000
commit8ff98c6c1b76c05ca9da7bfe379fd488be48db06 (patch)
treed7e07c72d00ff0d48e128ed3b31fcd20a3e8bae6
parent5252c459ac1cdc8a869ce02a0d7937c9efb0b833 (diff)
downloadpoky-8ff98c6c1b76c05ca9da7bfe379fd488be48db06.tar.gz
bitbake: toaster: leave cancel enabled for release change
When you click the 'change' icon to edit the project release, the "cancel" button, should always be enabled so that the user can return to the 'not editable' state at any time. [YOCTO #7151] (Bitbake rev: adcd24b97ea78fbccb870d62bd1297edae3a3487) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/toaster/toastergui/templates/project.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/project.html b/bitbake/lib/toaster/toastergui/templates/project.html
index badc8a6fcb..35147c0f14 100644
--- a/bitbake/lib/toaster/toastergui/templates/project.html
+++ b/bitbake/lib/toaster/toastergui/templates/project.html
@@ -412,7 +412,7 @@ vim: expandtab tabstop=2
412 <option ng-repeat="r in releases" value="{[r.id]}" ng-selected="r.id == project.release.id">{[r.description]}</option> 412 <option ng-repeat="r in releases" value="{[r.id]}" ng-selected="r.id == project.release.id">{[r.description]}</option>
413 </select> 413 </select>
414 <input type="submit" class="btn" style="margin-left:5px;" value="Save" ng-disabled="project.release.id == projectVersion"/> 414 <input type="submit" class="btn" style="margin-left:5px;" value="Save" ng-disabled="project.release.id == projectVersion"/>
415 <input type="reset" class="btn btn-link" value="Cancel" ng-click="toggle('#change-project-version')" ng-disabled="project.release.id == projectVersion"/> 415 <input type="reset" class="btn btn-link" value="Cancel" ng-click="toggle('#change-project-version')"/>
416 416
417 </form> 417 </form>
418 </div> 418 </div>