Changeset 3613:c49075201a42 for admin/js/_index.js
- Timestamp:
- 12/08/17 16:45:49 (8 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/js/_index.js
r2929 r3613 80 80 user_pref: 'dcx_quick_entry' 81 81 }); 82 83 // check if core update available 84 var params = { 85 f: 'checkCoreUpdate', 86 xd_check: dotclear.nonce 87 }; 88 $.post('services.php',params,function(data) { 89 if ($('rsp[status=failed]',data).length > 0) { 90 // Silently fail as a forced checked my be done with admin update page 91 } else { 92 if ($('rsp>update',data).attr('check') == 1) { 93 // Something has to be displayed 94 xml = $('rsp>update',data).attr('ret'); 95 $('#content h2').after(xml); 96 } 97 } 98 }); 99 82 100 });
Note: See TracChangeset
for help on using the changeset viewer.