0011666: Some fixes for Expressodriver
[tine20] / tine20 / Expressodriver / js / ExceptionHandler.js
index 8f3ee98..606d7fa 100644 (file)
@@ -35,7 +35,7 @@ Tine.Expressodriver.handleRequestException = function(exception, request) {
                 icon: Ext.MessageBox.WARNING,
                 title: _('Service Unavailable'),
                 msg: String.format(app.i18n._('The Expressodriver is not configured correctly. Please refer to the {0}Tine 2.0 Admin FAQ{1} for configuration advice or contact your administrator.'),
-                    '<a href="http://wiki.tine20.org/Admin_FAQ#The_message_.22filesdir_config_value_not_set.22_appears_in_the_logfile_and_I_can.27t_open_the_Expressodriver" target="_blank">',
+                    '<a href="http://www.tine20.org/wiki/index.php/Admin_FAQ#The_message_.22filesdir_config_value_not_set.22_appears_in_the_logfile_and_I_can.27t_open_the_Expressodriver" target="_blank">',
                     '</a>')
             });
             break;
@@ -123,6 +123,11 @@ Tine.Expressodriver.handleRequestException = function(exception, request) {
                 msg: app.i18n._(exception.message)
             });
             break;
+        case 904: // Expressodriver_Exception_CredentialsRequired
+            var passwordDialog = new Tine.Expressodriver.CredentialsDialog();
+            passwordDialog.adapterName = exception.adaptername;
+            passwordDialog.show();
+            break;
         default:
             Tine.Tinebase.ExceptionHandler.handleRequestException(exception);
             break;