custom profile field: Set default values in create-field form on load.

Add call of reset function, on load of admin settings page.
This function reset values in create-new-field form, i.e.
field type.
This commit is contained in:
Yashashvi Dave 2018-08-15 17:08:18 +05:30 committed by Tim Abbott
parent 03f5422ce8
commit 583fde4311

View File

@ -352,6 +352,7 @@ exports.set_up = function () {
$("#profile-field-settings").on("click", "#add-custom-profile-field-btn", create_profile_field);
$("#admin_profile_fields_table").on("click", ".open-edit-form", open_edit_form);
set_up_choices_field();
clear_form_data();
};
return exports;