\r
$reply['content'] .= "</div>";\r
\r
+ $reply['content'] .= "<div id=\"PTITLE-FULL-$id\" style=\"display : none\">" .\r
+ strip_tags($line['title']) . "</div>";\r
+\r
$reply['content'] .= "<span id=\"RTITLE-$id\"\r
onclick=\"return cdmClicked(event, $id);\"\r
class=\"titleWrap$hlc_suffix\">\r
print __("Articles matching this filter:");
- print "<div class=\"inactiveFeedHolder\">";
+ print "<div class=\"filterTestHolder\">";
print "<table width=\"100%\" cellspacing=\"0\" id=\"prefErrorFeedList\">";
if ($regexp_valid) {
$rv['content'] .= "<div id=\"PTITLE-$id\" style=\"display : none\">" .
truncate_string(strip_tags($line['title']), 15) . "</div>";
+ $rv['content'] .= "<div id=\"PTITLE-FULL-$id\" style=\"display : none\">" .
+ strip_tags($line['title']) . "</div>";
+
$rv['content'] .= "<div class=\"postReply\" id=\"POST-$id\">";
$rv['content'] .= "<div onclick=\"return postClicked(event, $id)\"
href: query});
dialog.show();
+
+ var lh = dojo.connect(dialog, "onLoad",
+ function() {
+ dojo.disconnect(lh);
+ var title = $("PTITLE-FULL-" + active_post_id);
+
+ if (title) {
+ $("filterDlg_regExp").value = title.innerHTML;
+ }
+ });
+
} catch (e) {
exception_error("quickAddFilter", e);
}
text-align : center;
}
-div.prefFeedCatHolder, div.prefFeedOPMLHolder, div.inactiveFeedHolder {
+div.prefFeedCatHolder, div.prefFeedOPMLHolder, div.inactiveFeedHolder, div.filterTestHolder {
height : 300px;
overflow : auto;
border-width : 0px 1px 1px 1px;
background-color : #ecf4ff;
}
-div.prefFeedOPMLHolder {
+div.prefFeedOPMLHolder, div.filterTestHolder {
border-width : 1px 1px 1px 1px;
}