Skip to content

duplicate loading #21

@WojciechNowicki

Description

@WojciechNowicki

I added to _showLoading: this.$element.find('.loading').remove();
because I saw problem with duplicate loading element. eg when refresh grid few times

 _showLoading: function() {
        if (this._settings.showLoadingOverlay) {
            this.$element.find('.loading').remove();
            this._loadingOverlay = $(this._settings.templates.loadingOverlayTemplate());
            this._sizeLoadingOverlay();
            this.$element.prepend(this._loadingOverlay);
        }
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions