mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	refactor: Use explicit path when referencing handlebars templates.
This commit is contained in:
		@@ -92,7 +92,7 @@ function update_choice_delete_btn(container, display_flag) {
 | 
			
		||||
 | 
			
		||||
function create_choice_row(container) {
 | 
			
		||||
    var context = {};
 | 
			
		||||
    var row = templates.render("profile-field-choice", context);
 | 
			
		||||
    var row = templates.render("settings/profile-field-choice", context);
 | 
			
		||||
    $(container).append(row);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -194,7 +194,7 @@ function set_up_choices_field_edit_form(profile_field, field_data) {
 | 
			
		||||
 | 
			
		||||
    _.each(choices_data, function (choice) {
 | 
			
		||||
        choice_list.append(
 | 
			
		||||
            templates.render("profile-field-choice", {
 | 
			
		||||
            templates.render("settings/profile-field-choice", {
 | 
			
		||||
                text: choice.text,
 | 
			
		||||
            })
 | 
			
		||||
        );
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user