minor fix in the default theme

This commit is contained in:
SJ 2013-07-10 14:11:27 +02:00
parent df2afabcb1
commit f43a2425bf
2 changed files with 12 additions and 1 deletions

View File

@ -879,6 +879,17 @@ var Piler =
}, },
stop_propagation: function(event) {
Piler.log("[stop_propagation]");
try {
event.stopPropagation();
}
catch ( e ) {
Piler.log("[stop_propagation]", e );
}
},
test_ldap_connection:function() test_ldap_connection:function()
{ {
Piler.log("[test_ldap_connection]"); Piler.log("[test_ldap_connection]");

View File

@ -44,7 +44,7 @@
<?php $i=0; foreach ($messages as $message) { ?> <?php $i=0; foreach ($messages as $message) { ?>
<tr onmouseover="Piler.current_message_id = <?php print $message['id']; ?>; return false;" id="e_<?php print $message['id']; ?>" class="resultrow new" onclick="Piler.view_message_by_pos(<?php print $i; ?>);"> <tr onmouseover="Piler.current_message_id = <?php print $message['id']; ?>; return false;" id="e_<?php print $message['id']; ?>" class="resultrow new" onclick="Piler.view_message_by_pos(<?php print $i; ?>);">
<td id="c1_r<?php print $i; ?>" class="resultcell restore"><input type="checkbox" id="r_<?php print $message['id']; ?>" name="r_<?php print $message['id']; ?>" value="iiii" <?php if(SEARCH_RESULT_CHECKBOX_CHECKED == 1) { ?>checked="checked"<?php } ?> class="restorebox" /></td> <td id="c1_r<?php print $i; ?>" class="resultcell restore" onclick="Piler.stop_propagation(event);"><input type="checkbox" id="r_<?php print $message['id']; ?>" name="r_<?php print $message['id']; ?>" value="iiii" <?php if(SEARCH_RESULT_CHECKBOX_CHECKED == 1) { ?>checked="checked"<?php } ?> class="restorebox" /></td>
<td id="c2_r<?php print $i; ?>" class="resultcell id"><?php print ($page*$page_len) + $i + 1; ?></td> <td id="c2_r<?php print $i; ?>" class="resultcell id"><?php print ($page*$page_len) + $i + 1; ?></td>
<td id="c3_r<?php print $i; ?>" class="resultcell date"><?php print $message['date']; ?></td> <td id="c3_r<?php print $i; ?>" class="resultcell date"><?php print $message['date']; ?></td>
<td id="c4_r<?php print $i; ?>" class="resultcell from"><?php if($message['from'] != $message['shortfrom']) { ?><span title="<?php print $message['from']; ?>"><?php print $message['shortfrom']; ?></span><?php } else { print $message['from']; } ?></td> <td id="c4_r<?php print $i; ?>" class="resultcell from"><?php if($message['from'] != $message['shortfrom']) { ?><span title="<?php print $message['from']; ?>"><?php print $message['shortfrom']; ?></span><?php } else { print $message['from']; } ?></td>