Sha256: 3e9c95ea72832597c34b2550e6e15c397c580107338d83732649b2b2418d5e15

Contents?: true

Size: 984 Bytes

Versions: 7

Compression:

Stored size: 984 Bytes

Contents

// Copyright (c) 2008-2013 Michael Dvorkin and contributors.
//
// Fat Free CRM is freely distributable under the terms of MIT license.
// See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
//------------------------------------------------------------------------------
if (Object.isUndefined(crm)) { 
  var crm = {};
};

//----------------------------------------------------------------------------
crm.toggle_open_id_login = function(first_field) {
    if (arguments.length == 0) {
      first_field = "authentication_openid_identifier";
    }
    $("login").toggle();
    $("openid").toggle();
    $("login_link").toggle();
    $("openid_link").toggle();
    $(first_field).focus();
  };

//----------------------------------------------------------------------------
crm.toggle_open_id_signup = function() {
    $("login").toggle();
    $("openid").toggle();
    $("login_link").toggle();
    $("openid_link").toggle();
    $('user_email').focus();
  };

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fat_free_crm-0.13.2 app/assets/javascripts/crm_loginout.js
fat_free_crm-0.12.3 app/assets/javascripts/crm_loginout.js
fat_free_crm-0.12.2 app/assets/javascripts/crm_loginout.js
fat_free_crm-0.13.1 app/assets/javascripts/crm_loginout.js
fat_free_crm-0.12.1 app/assets/javascripts/crm_loginout.js
fat_free_crm-0.13.0 app/assets/javascripts/crm_loginout.js
fat_free_crm-0.12.0 app/assets/javascripts/crm_loginout.js