2013-02-06 67 views
1

在註銷過程中,我調用intuit.ipp.anywhere.logout並將其傳遞給回調函數。回調函數被正確處理;但是,它不會退出應用程序中心。其他人有類似的問題?其他人在intuit.ipp.anywhere.logout調用時遇到問題

logout: function (callback) { 
    intuit.ipp.jQuery.ajax({ 
Uncaught TypeError: Cannot call method 'ajax' of undefined (repeated 2 times) 
       url: "https://" + intuit.ipp.anywhere.serviceHost + "/Account/LogoutJSONP?callback=?", 
       dataType: "jsonp", 
       complete: function() { 
        callback(); 
        //intuit.ipp.anywhere.view.popup.hide(); 
       } 
      }); 
    //intuit.ipp.anywhere.view.logout.render(callback); 
    return false; 
} 

回答