Skip to content
Snippets Groups Projects
Commit d4237ce5 authored by Adrián Granado's avatar Adrián Granado
Browse files

fix checkbox while going back after submit

parent 51130a02
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,12 @@ jQuery.Class('Install_Index_Js', {}, {
else password.addClass('hide');
});
if(jQuery('input[name="create_db"]').prop('checked'))
{
jQuery('#root_user').removeClass("hide");
jQuery('#root_password').removeClass("hide");
}
function clearPasswordError() {
jQuery('#passwordError').html('');
}
......@@ -51,6 +57,7 @@ jQuery.Class('Install_Index_Js', {}, {
jQuery('#passwordError').html('Please re-enter passwords. The \"Password\" and \"Re-type password\" values do not match.');
}
//This is not an event, we check if create_db is checked
jQuery('input[name="retype_password"]').on('blur', function(e){
var element = jQuery(e.currentTarget);
var password = jQuery('input[name="password"]').val();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment