2017-12-16 14:06:39 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2017-12-03 23:21:40 -07:00
|
|
|
$('#name').on('input propertychange paste', function () {
|
2017-11-30 00:18:55 -07:00
|
|
|
$('#name_title').text($('#name').val());
|
2017-12-03 23:21:40 -07:00
|
|
|
});
|
|
|
|
|
|
|
|
$('#password_protect').change(function () {
|
|
|
|
if ($(this).prop('checked')) {
|
|
|
|
$("#password").css('display', 'block');
|
|
|
|
} else {
|
|
|
|
$("#password").css('display', 'none');
|
|
|
|
}
|
|
|
|
})
|