Mailing List Archive

[bricoleurs/bricolage] e11eca: Make contributor popup properly update the documen...
Branch: refs/heads/master
Home: http://github.com/bricoleurs/bricolage

Commit: e11eca1687c36a596b7a505aab1830808b734239
http://github.com/bricoleurs/bricolage/commit/e11eca1687c36a596b7a505aab1830808b734239
Author: David E. Wheeler <david@justatheory.com>
Date: 2010-03-23 (Tue, 23 Mar 2010)

Changed paths:
M comp/media/js/lib.js
M comp/widgets/profile/contributors/edit.html
M lib/Bric/App/Callback/Profile/Media.pm
M lib/Bric/App/Callback/Profile/Story.pm
M lib/Bric/Changes.pod

Log Message:
-----------
Make contributor popup properly update the document.

The contributor popup now submits the updated list of contributors to
Bricolage, which updates them in the document and returns the updated list of
contributors. That list then updates the contributors section of the document
profile. Thanks to this change, editing contributors twice in a document
without saving in between no longer causes the changes from the first edit to
be forgotten. It also allows any changes to contributor order to in the popup
to be properly updated in the document profile.