diff --git a/www/common/common-util.js b/www/common/common-util.js index f6ec8d4df..4015fbfe4 100644 --- a/www/common/common-util.js +++ b/www/common/common-util.js @@ -18,7 +18,8 @@ define([], function () { fire: function () { if (fired) { return; } fired = true; - handlers.forEach(function (h) { h(); }); + var args = Array.prototype.slice.call(arguments); + handlers.forEach(function (h) { h.apply(null, args); }); } }; };