Posted by Scott Reynolds on October 5, 2009 at 5:20pm
3 followers
Jump to:
| Project: | Chaos tool suite (ctools) |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
With the introduction of this: #561788: ctools modal useage (...thats a bad title, it intros the reload command), a little usability thing came up.
When you use a modal for submitting the login form, after the form is submitted, you issue the reload command, the form remains displayed in the modal. So I set out to use ctools_modal_command_display() to display the loading message.
The problem is the loading message is all done via JS theme functions, not php theme functions. So I decided I needed a command.
It is trivial to write a command in my custom JS script, but I think this command would be useful for all. Attached is a patch
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| ctools_loading.patch | 1.41 KB | Ignored: Check issue status. | None | None |
Comments
#1
I did a little minor cleanup. I'm not completely sure this was the best way to do it, but it works well enough and I think is fine. Committed.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.