Java Spring ajax loader gif在两个循环后冻结

时间:2016-08-19 23:48:18

标签: java jquery ajax spring jquery-ui

以下是我的ajax加载程序的js和jsp文件,gif在两个循环后冻结。无限循环在JAVA中不起作用,任何人都有任何建议阻止我的GIF冻结。

dashboardnew.js

var DASHBOARDNEW = {

        showBusy: function() {
            // console.log('showBusy ajax_load_busy');
            $("#ajax_load_busy").modal('show');
        },

        hideBusy: function() {
            // console.log('hideBusy ajax_load_busy');
            $("#ajax_load_busy").modal('hide');

        }

};

dashboardnew.jsp

<div id="ajax_load_busy" class="modal fade " tabindex="-1"
        role="dialog">
        <div class="modal-dialog modal-sm">
            <div class="ajax_load_busy" id="load_busy">
                <img
                    src="${pageContext.request.contextPath}/static/images/ajax-loader.gif"/>
            </div>
        </div>
    </div>

0 个答案:

没有答案