Kouhei Sutou
null+****@clear*****
Tue Aug 16 16:49:56 JST 2016
Kouhei Sutou 2016-08-16 16:49:56 +0900 (Tue, 16 Aug 2016) New Revision: 440cb15b9a65d7095ff476c56409a7fc8f0c5c54 https://github.com/groonga/groonga/commit/440cb15b9a65d7095ff476c56409a7fc8f0c5c54 Message: admin: support no response error case Modified files: data/html/admin/js/groonga-admin.ja.js data/html/admin/js/groonga-admin.js Modified: data/html/admin/js/groonga-admin.ja.js (+1 -1) =================================================================== --- data/html/admin/js/groonga-admin.ja.js 2016-08-16 09:51:56 +0900 (c9d11f5) +++ data/html/admin/js/groonga-admin.ja.js 2016-08-16 16:49:56 +0900 (3e88d68) @@ -1321,7 +1321,7 @@ jQuery.extend(GroongaAdmin.prototype, { errorloading: function(ajax, hide_dialog) { var that = this; var json = null; - if (ajax) { + if (ajax && ajax.responseText) { json = JSON.parse(ajax.responseText); } this.hideloading(); Modified: data/html/admin/js/groonga-admin.js (+1 -1) =================================================================== --- data/html/admin/js/groonga-admin.js 2016-08-16 09:51:56 +0900 (8d07bea) +++ data/html/admin/js/groonga-admin.js 2016-08-16 16:49:56 +0900 (91c8fbb) @@ -1321,7 +1321,7 @@ jQuery.extend(GroongaAdmin.prototype, { errorloading: function(ajax, hide_dialog) { var that = this; var json = null; - if (ajax) { + if (ajax && ajax.responseText) { json = JSON.parse(ajax.responseText); } this.hideloading(); -------------- next part -------------- HTML����������������������������...Download