Browse Source

Added ZohoMail and ZohoChat

Fixes #155
pull/223/head
Ramiro Saenz 9 years ago
parent
commit
ccff4eaf1d
  1. 17
      app/store/ServicesList.js
  2. BIN
      resources/icons/zohochat.png
  3. BIN
      resources/icons/zohoemail.png

17
app/store/ServicesList.js

@ -389,6 +389,23 @@ Ext.define('Rambox.store.ServicesList', {
,url: '___' ,url: '___'
,type: 'email' ,type: 'email'
,js_unread: 'function checkUnread(){var e=document.getElementsByClassName("leftunseen"),t=0;for(i=0;i<e.length;i++)t+=parseInt(e[i].innerHTML);updateBadge(t)}function updateBadge(e){e>=1?document.title="("+e+") "+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,3000);' ,js_unread: 'function checkUnread(){var e=document.getElementsByClassName("leftunseen"),t=0;for(i=0;i<e.length;i++)t+=parseInt(e[i].innerHTML);updateBadge(t)}function updateBadge(e){e>=1?document.title="("+e+") "+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,3000);'
},
{
id: 'zohoemail'
,logo: 'zohoemail.png'
,name: 'Zoho Email'
,description: 'Free and open source webmail software for the masses, written in PHP.'
,url: 'https://mail.zoho.com/'
,type: 'email'
},
{
id: 'zohochat'
,logo: 'zohochat.png'
,name: 'Zoho Chat'
,description: 'Free and open source webmail software for the masses, written in PHP.'
,url: 'https://chat.zoho.com/'
,type: 'messaging'
,js_unread: 'NotifyByTitle.show = function(){};NotifyByTitle.start = function(){};NotifyByTitle.stop = function(){};function checkUnread(){var t=0;$(".msgnotify").each(function() { t += isNaN(parseInt($(this).html())) ? 0 : parseInt(parseInt($(this).html())) });updateBadge(t)}function updateBadge(e){e>=1?document.title="("+e+") "+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,3000);'
} }
] ]
}); });

BIN
resources/icons/zohochat.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
resources/icons/zohoemail.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Loading…
Cancel
Save