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

AttachmentSizeStatusTest resultOperations
ctools_loading.patch1.41 KBIgnored: Check issue status.NoneNone

Comments

#1

Status:needs review» fixed

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

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.