Opened 3 years ago

Last modified 3 years ago

#14507 confirmed New Feature

Ability to customize the position where the spinner icon is rendered on the dialog

Reported by: Irina Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.0
Keywords: IBM Cc: Satya Minnekanti, Christophe Guillou

Description

We would like the ability to control the position of the spinner within the dialog. Currently it is attached to the dialog's title.

potentially this can be done by adding extra/optional parameter to the 'setState' dialog's method

setState: function( state, position ) {
var oldState = this.state;
...

this.parts.spinner.setHtml( '⌛' );
this.parts.spinner.appendTo( (position? position : this.parts.title), 1 );
}

// Finally, show the spinner.
this.parts.spinner.show();

....

Change History (2)

comment:1 Changed 3 years ago by Jakub Ś

Status: newconfirmed
Type: BugNew Feature
Version: 4.5.74.5.0

I assume you are talking about spinner which is for example used in Media Embed Dialog which gets data asynchronously.

The issue makes sense but this is a feature request and not a bug (there is no problem with how current functionality works, there is just no way to customize it).

comment:2 Changed 3 years ago by Marek Lewandowski

Provided snippet got position attr added/proposed.

Note: See TracTickets for help on using tickets.
© 2003 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy