No changes
This commit is contained in:
parent
8680a02b13
commit
b6b398f5bf
17374 changed files with 2475441 additions and 0 deletions
11
ControlPanel/js/modules/circular_global.js
Normal file
11
ControlPanel/js/modules/circular_global.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
$('document').ready(function(){
|
||||
$.getJSON("home.php?m=circular&p=show_circular&type=cleared", function(data){
|
||||
if(data.length > 0)
|
||||
{
|
||||
$("head").append('<link rel="stylesheet" href="modules/circular/notification.css">');
|
||||
$("body").append('<div id="notification">You have ' + data.length + ' pending notifications.<br><a href="?m=circular&p=show_circular&list=true" >Read Notifications</a></div>');
|
||||
}
|
||||
}).fail(function(){
|
||||
console.log('Failed reading JSON for circulars');
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue