Author: sshyrkov
Date: Fri Nov  9 09:38:55 2007
New Revision: 19082

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D19082&repname=
=3Djahia
Log:
[trunk r19009] resolve issue: http://www.jahia.net/jira/browse/JAHIA-2548: =
Categories autcompletion: display problems

Modified:
    branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/jsp/jahia/engines/css=
/styles.css
    branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/jsp/jahia/engines/fil=
emanager/info.jsp

Modified: branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/jsp/jahia/engin=
es/css/styles.css
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-INCLUD=
E-TAG-BRANCH/core/src/webapp/jsp/jahia/engines/css/styles.css&rev=3D19082&r=
epname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/jsp/jahia/engines/css=
/styles.css (original)
+++ branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/jsp/jahia/engines/css=
/styles.css Fri Nov  9 09:38:55 2007
@@ -663,13 +663,11 @@
 =

 div.auto_complete {
     position: absolute;
-    width: 400px;
     background-color: white;
     border: 1px solid #888;
-    margin: 0px;
-    padding: 0px;
+    margin: 0;
+    padding: 0;
     text-align: left;
-    overflow:hidden;
     z-index:1000;
 }
 =


Modified: branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/jsp/jahia/engin=
es/filemanager/info.jsp
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-INCLUD=
E-TAG-BRANCH/core/src/webapp/jsp/jahia/engines/filemanager/info.jsp&rev=3D1=
9082&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/jsp/jahia/engines/fil=
emanager/info.jsp (original)
+++ branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/jsp/jahia/engines/fil=
emanager/info.jsp Fri Nov  9 09:38:55 2007
@@ -1321,6 +1321,7 @@
     try {
         child =3D XmlUtils.splitXml(msg.getDocXml(), "category");
         var result =3D "<ul>"
+        if (child.length =3D=3D 0) return;
         for (var i =3D 0; i < child.length; i++) {
             var tmp =3D XmlUtils.getAttrValue(child[i], "category", tag);
             var tmp2 =3D XmlUtils.getAttrValue(child[i], "category", tag2);
@@ -1329,7 +1330,7 @@
             if (tmp2.length > 35) {
                 tmp2 =3D tmp2.substring(0, 34);
                 result +=3D " (" + tmp2 + "...";
-                    } else {
+            } else {
                 result +=3D " (" + tmp2 + ")";
             }
             result +=3D "</a></li>";
@@ -1342,7 +1343,7 @@
         alert("Error filling " + divElement.id + ": " + ex);
         alert(msg.dump());
     }
-                        }
+ }
 =

 function copyValue(tag, value, value2) {
     var inputElem;

_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to