Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 3.2.0
-
Fix Version/s: 3.2.1
-
Component/s: Client Interface
-
Labels:None
Description
When a client goes to update their information and to add a phone number, saving the changes results in one of the phone numbers being duplicated.
This also prevents additional phone numbers from being deleted.
See http://www.blesta.com/forums/index.php?/topic/2643-remove-contact-numbers/
Activity
Tyson Phillips (Inactive)
created issue -
Tyson Phillips (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Tyson Phillips (Inactive)
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Tyson Phillips (Inactive)
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
To fix yourself, find /app/views/client/bootstrap/client_contacts_phone_numbers.pdt (line 83):
#1
Change from:
--------------
$(last_tr).find('.phone_id').attr('value', '');
--------------
To:
--------------
fields.find('.phone_id').attr('value', '');
--------------
#2
Change (line 92-93) from:
-------------
$(tr).last().after($(tr).children('input.phone_id'));
$('tr.phone_row:last').after($(this).closest('tr').children('input.phone_id'));
-------------
To:
------------
$(tr).parents('table').after($(tr).find('input.phone_id'));
------------