Fix user talk parameters for db-multiple in twinklespeedy #218

atlight opened this Issue May 1, 2014 · 0 comments


None yet

1 participant

atlight commented May 1, 2014

twinklespeedy.js line 1326 has params.utparams = [];, which is nonsense (I'm allowed to say that because I wrote that bit of code myself).

The whole if block should be replaced by something similar to

                code = "{{db-multiple";
                params.utparams = [];
                $.each(params.normalizeds, function(index, norm) {
                    // ...
                    params.utparams = params.utparams.concat(Twinkle.speedy.getUserTalkParameters(norm, parameters));
                code += "}}";

I'll do this soon when I'm on a computer with git.

(I'm not really sure why this code is using for-in loops, but I guess they don't hurt.)

@atlight atlight self-assigned this May 1, 2014
@atlight atlight added a commit that closed this issue May 2, 2014
@atlight atlight speedy: Pass extra user talk notification params for db-multiple
Don't know what I was thinking when I wrote params.utparams = [];
Fixes #218.
@atlight atlight closed this in da682ef May 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment