From 028b86d27a973a165cccb7343c3db88ec5a96981 Mon Sep 17 00:00:00 2001 From: zhaoxiang <756958008@qq.com> Date: Mon, 14 Nov 2016 23:45:34 +0800 Subject: [PATCH] =?UTF-8?q?added=20=E9=A1=B5=E9=9D=A2=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E5=8A=A8=E7=94=BB=E8=BD=BD=E5=85=A5....?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/admin/static/js/template.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/admin/static/js/template.js b/public/admin/static/js/template.js index e7e5612..4673d49 100644 --- a/public/admin/static/js/template.js +++ b/public/admin/static/js/template.js @@ -48,11 +48,16 @@ */ $.refresh = function ( url, urlData ) { urlData = urlData ? urlData : ''; + var loadingBox = bootbox.dialog({ + message: '
Loading...
', + closeButton: false + }); $.ajax({ type: "GET", url: url, data: urlData, success: function(data){ + loadingBox.modal('hide'); if( data.code == 200 ){ if( data.data.tempType == 'table' ){ if( $.buildTable ){