/application/views/reset_password_js.php

http://github.com/ushahidi/Ushahidi_Web · PHP · 22 lines · 4 code · 3 blank · 15 comment · 0 complexity · 9b0cbe4ffd9bf4a300fefae3709e0961 MD5 · raw file

  1. /**
  2. * Reset password js file.
  3. *
  4. * Handles javascript stuff related to reset password function.
  5. *
  6. * PHP version 5
  7. * LICENSE: This source file is subject to LGPL license
  8. * that is available through the world-wide-web at the following URI:
  9. * http://www.gnu.org/copyleft/lesser.html
  10. * @author Ushahidi Team <team@ushahidi.com>
  11. * @package Ushahidi - http://source.ushahididev.com
  12. * @module Alerts Controller
  13. * @copyright Ushahidi - http://www.ushahidi.com
  14. * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License (LGPL)
  15. */
  16. function fillFields(email)
  17. {
  18. $('#email').attr("value", decodeURIComponent( email ) );
  19. }