Mailing List Archive

[bricoleurs/bricolage] 84b739: Restore category recall to new asset pages.
Branch: refs/heads/rev-2.0
Home: https://github.com/bricoleurs/bricolage

Commit: 84b739aa53266664006d4b994e8f7d93b692fef8
https://github.com/bricoleurs/bricolage/commit/84b739aa53266664006d4b994e8f7d93b692fef8
Author: David E. Wheeler <david@justatheory.com>
Date: 2011-01-17 (Mon, 17 Jan 2011)

Changed paths:
M comp/widgets/media_prof/edit_new.html
A comp/widgets/profile/autocomplete.mc
M comp/widgets/story_prof/edit_new.html
M comp/widgets/tmpl_prof/edit_new.html
A lib/Bric/App/Callback/Autocomplete.pm
M lib/Bric/App/Handler.pm

Log Message:
-----------
Restore category recall to new asset pages.

Before we had autocompletion of categories in the New Story/Media/Template
profiles, it used to be that they would remember the last category selected
when you go to create a new document. That was lost; so restore it.

Done by adding a new widget, `comp/widgets/profile/autocomplete.mc`, which
munges the memorization code from the `select_object` widget with the simple
population of a text filed in `text.mc`. Also a callback that handles
remembering the value when a form is submitted. That callback, of course, is
Bric::App::Callback::Autopopulate.

[#159 state:resolved]


Commit: 97be5c5a6755fc007d76edabd9d15b88c386941c
https://github.com/bricoleurs/bricolage/commit/97be5c5a6755fc007d76edabd9d15b88c386941c
Author: David E. Wheeler <david@justatheory.com>
Date: 2011-01-17 (Mon, 17 Jan 2011)

Changed paths:
M lib/Bric/Changes.pod

Log Message:
-----------
Note autocomplete memory improvement.