# HG changeset patch # User Dan # Date 1237468916 14400 # Node ID 800df1e3c69ab50657e52089d445d8814f60a1e5 # Parent cfc9c33fc8802155076872ca4acadc700d439885# Parent 6faa838e44339c6352ba17ebc84f32e06d18b662 Branch merge (how did this happen?) diff -r cfc9c33fc880 -r 800df1e3c69a plugins/yubikey/yubikey.js --- a/plugins/yubikey/yubikey.js Wed Mar 18 11:37:08 2009 -0400 +++ b/plugins/yubikey/yubikey.js Thu Mar 19 09:21:56 2009 -0400 @@ -233,6 +233,10 @@ { attachHook('login_build_form', 'yk_login_dlg_hook(table);'); attachHook('login_build_userinfo', 'if ( window.yubikey_otp_current ) userinfo.yubikey_otp = window.yubikey_otp_current;'); + if ( title == namespace_list.Special + 'Preferences/Yubikey' ) + { + load_component(['jquery', 'jquery-ui', 'expander']); + } }); function yk_login_dlg_hook(table)