Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2009 at 17:20 UTC
Updated:
27 Oct 2009 at 20:20 UTC
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
| Comment | File | Size | Author |
|---|---|---|---|
| ctools_loading.patch | 1.41 KB | Scott Reynolds |
Comments
Comment #1
merlinofchaos commentedI 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.