mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-12 23:57:03 +02:00
highlight searched terms in the message view pane
This commit is contained in:
@ -246,9 +246,14 @@ var Piler =
|
||||
|
||||
view_message:function(id)
|
||||
{
|
||||
Piler.log("[view_message]");
|
||||
var search = $('#_search').val();
|
||||
|
||||
jQuery.ajax('/message.php/' + id, { cache: true })
|
||||
Piler.log("[view_message]", id, search);
|
||||
|
||||
jQuery.ajax('/message.php', {
|
||||
data: { id: id, search: search },
|
||||
type: "POST"
|
||||
})
|
||||
.done( function(a) {
|
||||
|
||||
if(a.indexOf('<?php print PILER_LOGIN_HELPER_PLACEHOLDER; ?>') > 0) {
|
||||
|
@ -154,6 +154,7 @@
|
||||
.splitter-h { cursor: n-resize; cursor: row-resize; background-position: center 2px; }
|
||||
.splitter-v { cursor: e-resize; cursor: col-resize; background-position: 2px center; }
|
||||
|
||||
.message_highlight { background: lightblue; }
|
||||
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user