Picolab / devtools

Repository for KRL Developer Tools
MIT License
6 stars 4 forks source link

Update Client page does not update #93

Closed AngelSassin closed 8 years ago

AngelSassin commented 8 years ago

When updating client data, clicking the Update button will not update the client's information. Instead, the spinning circle will persist on the page until refresh, and nothing changes.

uploads/949f7d70-c350-4d2a-824d-eef6ed860c58/Screen Shot 2016-05-11 at 4.51.42 PM.png

AngelSassin commented 8 years ago

The site now exits the Update Client page and returns to Client Registration. However, the update button still has no effect on the existing client data.

AngelSassin commented 8 years ago

At this point, most everything updates correctly. However, clearing the existing callbacks and bootstraps does not correctly delete these old items. Replacing these existing items with new callbacks and bootstraps will simply add the new callbacks and bootstraps to the list of old ones. The removePCIcallback and removePCIbootstraps defactions that are currently being used are not being found.

Perhaps we could add pci:remove_all_callbacks() and pci:remove_all_bootstraps() functions to clear the old callbacks and bootstraps.

AngelSassin commented 8 years ago

Everything now updates correctly. Separate multiple callbacks or bootstraps with ; semicolon.