Browse Source

disabled notify log

master
Igor Zhukov 10 years ago
parent
commit
60e7f133d7
  1. 5
      app/js/services.js

5
app/js/services.js

@ -3498,7 +3498,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
} }
function notify (data) { function notify (data) {
console.log('notify', $rootScope.idle.isIDLE, notificationsUiSupport); // console.log('notify', $rootScope.idle.isIDLE, notificationsUiSupport);
// FFOS Notification blob src bug workaround // FFOS Notification blob src bug workaround
if (Config.Navigator.ffos) { if (Config.Navigator.ffos) {
@ -3546,8 +3546,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
} }
else if (window.external && window.external.msIsSiteMode()) { else if (window.external && window.external.msIsSiteMode()) {
window.external.msSiteModeClearIconOverlay(); window.external.msSiteModeClearIconOverlay();
console.log('notify', data.image, data.title); window.external.msSiteModeSetIconOverlay('img/icons/icon16.png', data.title);
window.external.msSiteModeSetIconOverlay('img/icons/icon16.png', data.title + (data.message ? ' ' + data.message : ''));
window.external.msSiteModeActivate(); window.external.msSiteModeActivate();
notification = { notification = {
index: idx index: idx

Loading…
Cancel
Save