]> git.wh0rd.org Git - tt-rss.git/commitdiff
CDM behaviour fixes
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 16 Nov 2010 12:04:13 +0000 (15:04 +0300)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 16 Nov 2010 12:04:13 +0000 (15:04 +0300)
functions.php

index 7f2fdd1a0cc661430d26d5a74b93a4f1efdc9e6c..6b938f9c9108d44fd224e9188daa360176c5279c 100644 (file)
                                                onmouseout='postMouseOut($id)'";
 
                                        print "<div class=\"$class\" 
-                                               id=\"RROW-$id\" onclick=\"return cdmClicked(event, $id);\"
-       
-                                               $mouseover_attrs'>";
+                                               id=\"RROW-$id\" $mouseover_attrs'>";
 
                                        print "<div class=\"cdmHeader\">";
 
                                        print "$published_pic";
 
                                        print "<span id=\"RTITLE-$id\" 
-                                               onclick=\"return false;\"
+                                               onclick=\"return cdmClicked(event, $id);\"
                                                class=\"titleWrap$hlc_suffix\">
                                                <a class=\"title\"
                                                target=\"_blank\" href=\"".$line["link"]."\">".$line["title"]."</a>
-                                               $entry_author
-                                               </span>";
+                                               $entry_author";
 
                                        print $labels_str;
 
                                        print "<span $excerpt_hidden
                                                id=\"CEXC-$id\" class=\"cdmExcerpt\"> - $content_preview</span>";
 
+                                       print "</span>";
+
                                        print "</div>";
 
                                        print "<div class=\"cdmContent\" $content_hidden
+                                               onclick=\"return cdmClicked(event, $id);\"
                                                id=\"CICD-$id\">";
 
                                        print "<div class=\"cdmContentInner\">";