Index: /main/kofacustom.ekodisco/trunk/CHANGES.txt
===================================================================
--- /main/kofacustom.ekodisco/trunk/CHANGES.txt	(revision 11442)
+++ /main/kofacustom.ekodisco/trunk/CHANGES.txt	(revision 11443)
@@ -4,4 +4,6 @@
 1.0.1dev (unreleased)
 =====================
+
+* jquery-ui.min.js is also used for tooltips.
 
 * Refer to INSTALL.txt in waeup.kofa sources.
Index: /main/kofacustom.ekodisco/trunk/layout/rules.xml
===================================================================
--- /main/kofacustom.ekodisco/trunk/layout/rules.xml	(revision 11442)
+++ /main/kofacustom.ekodisco/trunk/layout/rules.xml	(revision 11443)
@@ -88,5 +88,5 @@
     <!-- scripts -->
     <drop css:theme="script.kofa-script-tooltip"
-          css:if-not-content="[data-toggle=tooltip]" />
+          css:if-not-content="[data-toggle='tooltip']" />
 
     <drop css:theme="script.kofa-script-datepicker"
@@ -95,4 +95,10 @@
     <drop css:theme="script.kofa-script-datatable"
           css:if-not-content="table.kofa-data-table" />
+
+    <rules css:if-not-content="input.datepicker-le-year">
+        <drop css:theme="script.jquery-ui"
+              css:if-not-content="[data-toggle='tooltip']" />
+    </rules>
+
 
 <!--
@@ -112,41 +118,4 @@
 -->
 
-    <!-- the language selector
-
-      quite tricky. We insert a <li> element at beginning of
-      ul.kofa-navbar-right. This <li> has a header element
-      (the 'Language' button) and the a number of <li> elements
-      representing the supported languages.
-      We change the input content of format
-
-         <a href="foo" title="Lang">Abbrev</a>
-
-      to
-
-         <a href="foo">Lang</a>
-
-      creating new nodes (<xsl:element>) with attributes copied over.
-    -->
-    <before css:theme-children="ul.kofa-navbar-right">
-      <li class="dropdown kofa-langselect">
-        <a href="#" class="dropdown-toggle"
-           data-toggle="dropdown">
-           <img src="/static/img/earth.png" />
-        </a>
-        <ul class="dropdown-menu">
-          <xsl:for-each css:select=" .language a">
-            <li class="kofa-language">
-              <xsl:element name="a">
-                <xsl:attribute name="href">
-                  <xsl:value-of select="@href" />
-                </xsl:attribute>
-                <xsl:value-of select="@title" />
-              </xsl:element>
-            </li>
-          </xsl:for-each>
-        </ul>
-      </li>
-    </before>
-
     <!-- Make all data tables responsive -->
 
Index: /main/kofacustom.ekodisco/trunk/layout/theme.html
===================================================================
--- /main/kofacustom.ekodisco/trunk/layout/theme.html	(revision 11442)
+++ /main/kofacustom.ekodisco/trunk/layout/theme.html	(revision 11443)
@@ -321,5 +321,5 @@
             <h3>A Sample Data Table</h3>
             <div class="table-responsive">
-              <table id="#dadatable" class="table table-striped dataTable">
+              <table id="#datatable" class="table table-striped dataTable">
                 <thead>
                   <tr>
@@ -514,7 +514,10 @@
     <script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
     <script src="static/bootstrap/js/bootstrap.min.js"></script>
-    <script src="static/js/kofa-tooltip.js"></script>
     <script src="static/js/kofa-button-rowadd.js"></script>
     <script src="static/js/kofa-toggleall.js"></script>
+    <script src="static/js/kofa-activate-tab.js"></script>
+    <script class="kofa-script-tooltip"
+        src="static/js/kofa-tooltip.js">
+    </script>
     <script class="kofa-script-datatable"
         src="static/js/jquery.dataTables.min.js">
@@ -523,5 +526,5 @@
         src="static/js/kofa-datatables.js">
     </script>
-    <script class="kofa-script-datepicker"
+    <script class="jquery-ui"
         src="static/js/jquery-ui.min.js">
     </script>
