summaryrefslogtreecommitdiff
path: root/modules/popup-dialog.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-11-11 18:59:21 +0300
committerAndrew Dolgov <[email protected]>2010-11-11 18:59:21 +0300
commita998dbef95bb6ac94a0f4b401e94e4c932c855a0 (patch)
tree24593ab69bcdbc72838ed79ce824331c26d0764c /modules/popup-dialog.php
parentb0d32d324ceedd5134861dee9af2e3f251ed0b6a (diff)
misc code cleanup, allow ctrl-key selection in prefs
Diffstat (limited to 'modules/popup-dialog.php')
-rw-r--r--modules/popup-dialog.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/popup-dialog.php b/modules/popup-dialog.php
index 520c9f954..364dfe7b0 100644
--- a/modules/popup-dialog.php
+++ b/modules/popup-dialog.php
@@ -80,8 +80,8 @@
WHERE owner_uid = ".$_SESSION["uid"]." ORDER BY title");
print __('Select:')."
- <a href=\"javascript:selectPrefRows('fcat', true)\">".__('All')."</a>,
- <a href=\"javascript:selectPrefRows('fcat', false)\">".__('None')."</a>";
+ <a href=\"#\" onclick=\"selectPrefRows('fcat', true)\">".__('All')."</a>,
+ <a href=\"#\" onclick=\"selectPrefRows('fcat', false)\">".__('None')."</a>";
print "<div class=\"prefFeedCatHolder\">";
@@ -93,7 +93,7 @@
print "<tr class=\"odd\" id=\"FCATR-0\">";
print "<td width='5%' align='center'><input
- onclick='toggleSelectPrefRow(this, \"fcat\");'
+ onclick='toggleSelectRow(this);'
type=\"checkbox\" id=\"FCCHK-0\"></td>";
if (!$_SESSION["profile"]) {
@@ -121,7 +121,7 @@
$edit_title = htmlspecialchars($line["title"]);
print "<td width='5%' align='center'><input
- onclick='toggleSelectPrefRow(this, \"fcat\");'
+ onclick='toggleSelectRow(this);'
type=\"checkbox\" id=\"FCCHK-$cat_id\"></td>";
if ($_SESSION["profile"] == $line["id"]) {