Browse Source

UI-1874: Forgot to push that voip specific bit

4.3
Jean-Roch Maitre 10 years ago
parent
commit
d2eedad27c
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      submodules/myOffice/myOffice.js

+ 8
- 2
submodules/myOffice/myOffice.js View File

@ -10,7 +10,7 @@ define(function(require){
subscribe: {
'voip.myOffice.render': 'myOfficeRender',
'myaccount.closed': 'myOfficeMyAccountClosed'
'auth.continueTrial': 'myOfficeWalkthroughRender'
},
chartColors: [
@ -117,6 +117,12 @@ define(function(require){
.empty()
.append(template);
// If it's not a trial, we show the Walkthrough the first time
// If it's a trial, this code will be called by trial handler
if(!monster.apps.auth.currentAccount.hasOwnProperty('trial_time_left')) {
self.myOfficeWalkthroughRender();
}
callback && callback();
});
},
@ -947,7 +953,7 @@ define(function(require){
loadNumberDetails(callerIdNumberSelect.val());
},
myOfficeMyAccountClosed: function() {
myOfficeWalkthroughRender: function() {
var self = this;
if(self.isActive()) {


Loading…
Cancel
Save