From fd1ca73341832bb514aa4d90326d5152c296db5c Mon Sep 17 00:00:00 2001 From: Lloyd Hilaiel <lloyd@hilaiel.com> Date: Thu, 19 Jul 2012 13:48:25 -0600 Subject: [PATCH] fix incomplete move to whitelisting of options to get() --- resources/static/include_js/include.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/static/include_js/include.js b/resources/static/include_js/include.js index ec2900884..f10b3e388 100644 --- a/resources/static/include_js/include.js +++ b/resources/static/include_js/include.js @@ -1194,17 +1194,17 @@ }, onlogout: function() {} }); - options.oncancel = function() { + opts.oncancel = function() { if (callback) { callback(null); callback = null; } observers.login = observers.logout = observers.ready = null; }; - if (options && options.silent) { + if (passedOptions && passedOptions.silent) { if (callback) setTimeout(function() { callback(null); }, 0); } else { - internalRequest(options); + internalRequest(opts); } }, // backwards compatibility with old API -- GitLab