diff options
author | Dave Lerner <dave.lerner@windriver.com> | 2015-03-12 13:55:27 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-21 00:00:26 +0000 |
commit | 8ff98c6c1b76c05ca9da7bfe379fd488be48db06 (patch) | |
tree | d7e07c72d00ff0d48e128ed3b31fcd20a3e8bae6 | |
parent | 5252c459ac1cdc8a869ce02a0d7937c9efb0b833 (diff) | |
download | poky-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.html | 2 |
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> |