projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5be83f7
)
Bug #8952: Fix casting spam parameter to number
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 7 Apr 2010 22:30:11 +0000
(16:30 -0600)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Thu, 8 Apr 2010 19:27:12 +0000
(13:27 -0600)
imp/js/DimpBase.js
patch
|
blob
|
history
diff --git
a/imp/js/DimpBase.js
b/imp/js/DimpBase.js
index
2334747
..
ff9cd97
100644
(file)
--- a/
imp/js/DimpBase.js
+++ b/
imp/js/DimpBase.js
@@
-2713,7
+2713,7
@@
var DimpBase = {
reportSpam: function(spam, opts)
{
opts = opts || {};
- if (this._doMsgAction('reportSpam', opts, { spam:
spam
})) {
+ if (this._doMsgAction('reportSpam', opts, { spam:
Number(spam)
})) {
// Indicate to the user that something is happening (since spam
// reporting may not be instantaneous).
this.loadingImg('viewport', true);