no way back from edit phone number

Bug #157031 reported by Jeffrey Elkner
2
Affects Status Importance Assigned to Milestone
Z Contact
Fix Released
Medium
Paul Carduner

Bug Description

After adding a "title" to a phone number with value "Contact: Cassandra Burton" I was presented with a screen that looks like this:

Data successfully updated.
Contact: Cassandra Burton [Edit] [Remove]
+1 (202) 332-6561

There is no apparent way to return to the main screen from here.

Jeffrey Elkner (jelkner)
Changed in zcontact:
assignee: nobody → pcardune
Revision history for this message
Paul Carduner (pcardune) wrote : Re: [Bug 157031] no way back from edit phone number

By adding a "title" do you mean, editing an existing phone number and
entering in a new title? or adding a new phone number and entering in
a title. Also, is this just after creating a new contact (in which
case the page may need to be reloaded?) What are the exact steps to
reproduce?

- Paul

Revision history for this message
Paul Carduner (pcardune) wrote :

Fixed in revision 139. I was able to reproduce it by:
1. Adding a field (such as an address)
2. Editing the field before reloading the page.

Then problem was that when the newly added field was injected into the page (complete with "edit" and "delete" buttons), the form that handles those buttons was not being converted to ajax submission. Thus, when you clicked on a button, it went to a completely different page rather than just submitting the data through an HTTP POST.

The problem was resolved by refactoring how the add form got injected into the page. Now the add form handles its own ajaxification.

In this revision, I also made the effects a little nicer and fixed some small CSS glitches related to the phone number fields.

Changed in zcontact:
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Paul Carduner (pcardune) wrote :

released in version 0.1.0a6

Changed in zcontact:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.