mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-31 23:38:20 -04:00
Final modifications.
This commit is contained in:
parent
de92767e5a
commit
ade6cf8e0b
24 changed files with 316 additions and 275 deletions
|
@ -14,10 +14,10 @@ module.define('h5ai-info', [jQuery, 'core/resource'], function ($, resource) {
|
|||
|
||||
handleChecksResponse = function (response) {
|
||||
|
||||
_.each(['php', 'cache', 'thumbs', 'temp', 'download'], function (test) {
|
||||
$('.test').each(function () {
|
||||
|
||||
setCheckResult('#test-' + test, response && response[test]);
|
||||
})
|
||||
setCheckResult(this, response && response[$(this).data('id')]);
|
||||
});
|
||||
},
|
||||
|
||||
checks = function () {
|
||||
|
@ -25,7 +25,7 @@ module.define('h5ai-info', [jQuery, 'core/resource'], function ($, resource) {
|
|||
$.ajax({
|
||||
url: resource.api(),
|
||||
data: {
|
||||
action: 'checks'
|
||||
action: 'getchecks'
|
||||
},
|
||||
type: 'POST',
|
||||
dataType: 'json',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue