summaryrefslogtreecommitdiff
path: root/modules/pref-labels.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/pref-labels.php
parentb0d32d324ceedd5134861dee9af2e3f251ed0b6a (diff)
misc code cleanup, allow ctrl-key selection in prefs
Diffstat (limited to 'modules/pref-labels.php')
-rw-r--r--modules/pref-labels.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/pref-labels.php b/modules/pref-labels.php
index 884a25d1a..d7a300843 100644
--- a/modules/pref-labels.php
+++ b/modules/pref-labels.php
@@ -208,8 +208,8 @@
print "<tr><td class=\"selectPrompt\" colspan=\"8\">
".__('Select:')."
- <a href=\"javascript:selectPrefRows('label', true)\">".__('All')."</a>,
- <a href=\"javascript:selectPrefRows('label', false)\">".__('None')."</a>
+ <a href=\"#\" onclick=\"selectPrefRows('label', true)\">".__('All')."</a>,
+ <a href=\"#\" onclick=\"selectPrefRows('label', false)\">".__('None')."</a>
</td</tr>";
/* print "<tr class=\"title\">
@@ -238,7 +238,7 @@
if (!$bg_color) $bg_color = "";
print "<td width='5%' align='center'><input
- onclick='toggleSelectPrefRow(this, \"label\");'
+ onclick='toggleSelectRow(this);'
type=\"checkbox\" id=\"LICHK-".$line["id"]."\"></td>";
$id = $line['id'];