We recently added functionality to enforce unique project names. Such functionality was marked up for Boostrap 2, and some changes are required to ensure it works with Bootstrap 3.
Signed-off-by: Belen Barros Pena <[email protected]> --- bitbake/lib/toaster/toastergui/static/js/libtoaster.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js index a56e84a..e4e4f6c 100644 --- a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js +++ b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js @@ -393,11 +393,11 @@ var libtoaster = (function () { data.results[0].name === projectName) { // This project name exists hence show the error and disable // the save button - ctrlGrpValidateProjectName.addClass('control-group error'); + ctrlGrpValidateProjectName.addClass('has-error'); hintError.show(); enableOrDisableBtn.attr('disabled', 'disabled'); } else { - ctrlGrpValidateProjectName.removeClass('control-group error'); + ctrlGrpValidateProjectName.removeClass('has-error'); hintError.hide(); enableOrDisableBtn.removeAttr('disabled'); } -- 1.9.1 -- _______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
