javascript - Uncaught TypeError: Cannot read property 'ui' of undefined -
there weird problem server. have web application (vtiger crm) locally , works fine, loads neccessary data should (in email manager module). exact same copy hosted on server, , gives following:
uncaught typeerror: cannot read property 'ui' of undefined mailmanager._mainui_callback (anonymous function) n o.firewith  w  d sometimes gives:
uncaught typeerror: cannot read property 'ui' of undefined has ever happened anyone? there different in server php.ini file causes this?
your appreciated, thanks!
edit: give more descriptive example copy , paste actual code responsible since same code works locally, pretty sure server issue. , that's point of question. however, function accepts response parameter , sends argument via mailmanager._mainui_callback function:
                   function(response){                          mailmanager._mainui_callback(response);                         progressindicatorelement.progressindicator({                             'mode' : 'hide'                         })                         jquery("#_folderprogress_").hide();                         var timeout = jquery("#refresh_timeout").val();                         if(timeout != "" && timeout !=0) {                             setinterval(mailmanager.updatemailfolders, timeout);                         }                         // update seleted folders highlight them.                         var foldername = jquery('#mm_selected_folder').val();                         mailmanager.updateselectedfolder(foldername);                     } this callback function stuff response:
       _mainui_callback: function(responsejson){             jquery('#_mainfolderdiv_').html(responsejson['result']['ui']);              if (!responsejson['result']['mailbox']) {                 mailmanager.open_settings();             }              mailmanager.triggerui5resize();         } what makes me wonder is, why work locally , not in server?
 
 
Comments
Post a Comment