$reply['content'] .= "<div class='hlLeft'>";
- $reply['content'] .= "<input dojoType=\"dijit.form.CheckBox\"
- type=\"checkbox\" onclick=\"toggleSelectRow2(this)\"
+ $reply['content'] .= "<input
+ type=\"checkbox\" onclick=\"toggleSelectRow(this)\"
id=\"RCHK-$id\">";
$reply['content'] .= "$marked_pic";
$reply['content'] .= "<div>";
- $reply['content'] .= "<input dojoType=\"dijit.form.CheckBox\"
- type=\"checkbox\" onclick=\"toggleSelectRow2(this, false, true)\"
+ $reply['content'] .= "<input
+ type=\"checkbox\" onclick=\"toggleSelectRow(this, false, true)\"
id=\"RCHK-$id\">";
$reply['content'] .= "$marked_pic";
initHeadlinesMenu();
new_elems.each(function(child) {
- var cb = dijit.byId(child.id.replace("RROW-", "RCHK-"));
-
- if (!cb) {
- dojo.parser.parse(child);
-
+ if (!$("RCHK-" + child.id.replace("RROW-", "RCHK-"))) {
if (!Element.visible(child))
new Effect.Appear(child, { duration : 0.5 });
} else {
_infscroll_request_sent = 0;
+
notify("");
} catch (e) {
function toggleSelected(id, force_on) {
try {
- var cb = dijit.byId("RCHK-" + id);
+ var cb = $("RCHK-" + id);
var row = $("RROW-" + id);
if (row) {
if (row.hasClassName('Selected') && !force_on) {
row.removeClassName('Selected');
- if (cb) cb.attr("checked", false);
+ if (cb) cb.checked = false;
} else {
row.addClassName('Selected');
- if (cb) cb.attr("checked", true);
+ if (cb) cb.checked = true;
}
}
} catch (e) {
children.each(function(child) {
var id = child.id.replace("RROW-", "");
- var cb = dijit.byId("RCHK-" + id);
+ var cb = $("RCHK-" + id);
if (mode == "all") {
child.addClassName("Selected");
- if (cb) cb.attr("checked", true);
+ if (cb) cb.checked= true;
} else if (mode == "unread") {
if (child.hasClassName("Unread")) {
child.addClassName("Selected");
- if (cb) cb.attr("checked", true);
+ if (cb) cb.checked = true;
} else {
child.removeClassName("Selected");
- if (cb) cb.attr("checked", false);
+ if (cb) cb.checked = false;
}
} else if (mode == "marked") {
var img = $("FMPIC-" + child.id.replace("RROW-", ""));
if (img && img.src.match("mark_set")) {
child.addClassName("Selected");
- if (cb) cb.attr("checked", true);
+ if (cb) cb.checked = true;
} else {
child.removeClassName("Selected");
- if (cb) cb.attr("checked", false);
+ if (cb) cb.checked = false;
}
} else if (mode == "published") {
var img = $("FPPIC-" + child.id.replace("RROW-", ""));
if (img && img.src.match("pub_set")) {
child.addClassName("Selected");
- if (cb) cb.attr("checked", true);
+ if (cb) cb.checked = true;
} else {
child.removeClassName("Selected");
- if (cb) cb.attr("checked", false);
+ if (cb) cb.checked = false;
}
} else if (mode == "invert") {
if (child.hasClassName("Selected")) {
child.removeClassName("Selected");
- if (cb) cb.attr("checked", false);
+ if (cb) cb.checked = false;
} else {
child.addClassName("Selected");
- if (cb) cb.attr("checked", true);
+ if (cb) cb.checked = true;
}
} else {
child.removeClassName("Selected");
- if (cb) cb.attr("checked", false);
+ if (cb) cb.checked = false;
}
});
function markHeadline(id) {
var row = $("RROW-" + id);
if (row) {
- var check = dijit.byId("RCHK-" + id);
+ var check = $("RCHK-" + id);
if (check) {
- check.attr("checked", true);
+ check.checked = true;
}
row.addClassName("Selected");