projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bfb5eb
)
These entries might be null
author
Michael M Slusarz
<slusarz@curecanti.org>
Mon, 13 Sep 2010 22:15:32 +0000
(16:15 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 15 Sep 2010 14:43:33 +0000
(08:43 -0600)
imp/js/dimpbase.js
patch
|
blob
|
history
diff --git
a/imp/js/dimpbase.js
b/imp/js/dimpbase.js
index
e52d00d
..
ba56fc3
100644
(file)
--- a/
imp/js/dimpbase.js
+++ b/
imp/js/dimpbase.js
@@
-433,7
+433,9
@@
var DimpBase = {
if (this.isSearch(null, true)) {
re = new RegExp("(" + $F('qsearch_input') + ")", "i");
[ 'from', 'subject' ].each(function(h) {
- r[h] = r[h].gsub(re, '<span class="qsearchMatch">#{1}</span>');
+ if (r[h] !== null) {
+ r[h] = r[h].gsub(re, '<span class="qsearchMatch">#{1}</span>');
+ }
});
}