diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-10-03 08:13:40 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-10-03 08:13:40 +0200 |
commit | 2465b3274aacaf81c50d2bd11375f02cb9b49d54 (patch) | |
tree | 48b0e70acffedfa4c9226a6b436c5b62556b3470 /js/main.js | |
parent | 60e0f79b9f9e94b19cc412eac41e5d8f8fec2383 (diff) | |
parent | 297ab898b7642cf8251405cb60e787222f4e5974 (diff) | |
download | volse-hubzilla-2465b3274aacaf81c50d2bd11375f02cb9b49d54.tar.gz volse-hubzilla-2465b3274aacaf81c50d2bd11375f02cb9b49d54.tar.bz2 volse-hubzilla-2465b3274aacaf81c50d2bd11375f02cb9b49d54.zip |
Merge remote-tracking branch 'friendika/master'
Diffstat (limited to 'js/main.js')
-rw-r--r-- | js/main.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/js/main.js b/js/main.js index 896cbeb56..e0694e47f 100644 --- a/js/main.js +++ b/js/main.js @@ -95,6 +95,16 @@ if(home == 0) { home = ''; $('#home-update').removeClass('show') } else { $('#home-update').addClass('show') } $('#home-update').html(home); + var intro = $(data).find('intro').text(); + if(intro == 0) { intro = ''; $('#intro-update').removeClass('show') } else { $('#intro-update').addClass('show') } + $('#intro-update').html(intro); + + var mail = $(data).find('mail').text(); + if(mail == 0) { mail = ''; $('#mail-update').removeClass('show') } else { $('#mail-update').addClass('show') } + $('#mail-update').html(mail); + + + var eNotif = $(data).find('notif') notif = eNotif.attr('count'); if (notif>0){ |