Dokumentation: HTML- & PDF-Versionen neu gebaut
[kivitendo-erp.git] / js / kivi.js
index b43028f..c6245c8 100644 (file)
@@ -337,7 +337,8 @@ namespace("kivi", function(ns) {
       extraPlugins:  'inline_resize',
       toolbar:       buttons,
       disableAutoInline: true,
-      title:         false
+      title:         false,
+      disableNativeSpellChecker: false
     };
 
     config.height = $e.height();
@@ -468,6 +469,9 @@ namespace("kivi", function(ns) {
   // - dialog: an optional object of options passed to the $.dialog() call
   // - load: an optional function that is called after the content has been loaded successfully (only if an AJAX call is made)
   ns.popup_dialog = function(params) {
+    if (kivi.Materialize)
+      return kivi.Materialize.popup_dialog(params);
+
     var dialog;
 
     params            = params        || { };