2013-04-17 30 views

回答

2

变化chrome.js

线273和288

title: "Softplanter " + _.str.capitalize(error.type), 
      buttons: [ 
       {text: _t("Ok"), click: function() { $(this).dialog("close"); }} 
      ] 
     }); 
    }, 
    show_error: function(error) { 
     if (!this.active) { 
      return; 
     } 
     var buttons = {}; 
     buttons[_t("Ok")] = function() { 
      $(this).dialog("close"); 
     }; 
     var dialog = new instance.web.Dialog(this, { 
      title: "YourName " + _.str.capitalize(error.type),