$data = htmlspecialchars(json_encode($line));
- print "<li><input type='checkbox' onclick='toggleSelectListRow(this)'>".
+ print "<li><input dojoType='dijit.form.CheckBox' type='checkbox' onclick='toggleSelectListRow2(this)'>".
"<span onclick=\"dijit.byId('filterEditDlg').editRule(this)\">".$this->getRuleName($line)."</span>".
"<input type='hidden' name='rule[]' value=\"$data\"/></li>";
}
$line["action_param_label"] = $line["action_param"];
$data = htmlspecialchars(json_encode($line));
- print "<li><input type='checkbox' onclick='toggleSelectListRow(this)'>".
+ print "<li><input dojoType='dijit.form.CheckBox' type='checkbox' onclick='toggleSelectListRow2(this)'>".
"<span onclick=\"dijit.byId('filterEditDlg').editAction(this)\">".$this->getActionName($line)."</span>".
"<input type='hidden' name='action[]' value=\"$data\"/></li>";
}
try {
var li = dojo.create("li");
- dojo.create("input", { type: "checkbox",
- onclick: function() { toggleSelectListRow(this) },
- }, li);
+ var cb = dojo.create("input", { type: "checkbox" }, li);
+
+ new dijit.form.CheckBox({
+ onChange: function() {
+ toggleSelectListRow2(this) },
+ }, cb);
dojo.create("input", { type: "hidden",
name: "rule[]",
try {
var li = dojo.create("li");
- dojo.create("input", { type: "checkbox",
- onclick: function() { toggleSelectListRow(this) },
- }, li);
+ var cb = dojo.create("input", { type: "checkbox" }, li);
+
+ new dijit.form.CheckBox({
+ onChange: function() {
+ toggleSelectListRow2(this) },
+ }, cb);
dojo.create("input", { type: "hidden",
name: "action[]",
ul#filterDlg_Matches li, ul#filterDlg_Actions li {
cursor : pointer;
+ padding : 0px 0px 0px 5px;
+}
+
+ul#filterDlg_Matches li div.dijitCheckBox, ul#filterDlg_Actions li div.dijitCheckBox {
+ margin-right : 5px;
}