equal
deleted
inserted
replaced
231 |
231 |
232 addOnloadHook(function() |
232 addOnloadHook(function() |
233 { |
233 { |
234 attachHook('login_build_form', 'yk_login_dlg_hook(table);'); |
234 attachHook('login_build_form', 'yk_login_dlg_hook(table);'); |
235 attachHook('login_build_userinfo', 'if ( window.yubikey_otp_current ) userinfo.yubikey_otp = window.yubikey_otp_current;'); |
235 attachHook('login_build_userinfo', 'if ( window.yubikey_otp_current ) userinfo.yubikey_otp = window.yubikey_otp_current;'); |
|
236 if ( title == namespace_list.Special + 'Preferences/Yubikey' ) |
|
237 { |
|
238 load_component(['jquery', 'jquery-ui', 'expander']); |
|
239 } |
236 }); |
240 }); |
237 |
241 |
238 function yk_login_dlg_hook(table) |
242 function yk_login_dlg_hook(table) |
239 { |
243 { |
240 window.yubikey_otp_current = false; |
244 window.yubikey_otp_current = false; |