Simple-Paging-Grid icon indicating copy to clipboard operation
Simple-Paging-Grid copied to clipboard

duplicate loading

Open WojciechNowicki opened this issue 12 years ago • 1 comments

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);
        }
    },

WojciechNowicki avatar Nov 06 '13 10:11 WojciechNowicki

Thank you - I'll replicate the problem shortly and include your fix. Thanks!

JamesRandall avatar Nov 06 '13 17:11 JamesRandall