Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #10911
Closed
Open
Issue created Oct 02, 2013 by Administrator@rootContributor

Modal ajax loading indication.

Created by: undsoft

Hello,

If I use remote modal dialogs, right now there is no native way for me to inform user that his content is loading. On slow connections this could be frustrating.

I know that there are ways to work around this, but why not have a better solution right out of the box?

For example, you could be adding .modal-loading class to the modal element when content is loading, so that I can style it with css.

modal.js, line 32:

        if (this.options.remote) {
            var that = this;
            this.$element.addClass('modal-loading');
            this.$element.load(this.options.remote, function(){
                that.$element.addClass('modal-loading');
            });
        }

Adding events may also be a nice solution.

Assignee
Assign to
Time tracking