mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-05 12:01:17 +01:00
Failed JS Attempt
(For Andrew to see)
This commit is contained in:
committed by
Julian Lam
parent
8b354a26e0
commit
5ee098ab2b
16
src/posts/newuser.js
Normal file
16
src/posts/newuser.js
Normal file
@@ -0,0 +1,16 @@
|
||||
'use strict';
|
||||
|
||||
|
||||
define('admin/settings/general', ['admin/settings'], function () {
|
||||
var Module = {};
|
||||
|
||||
Module.init = function () {
|
||||
$('input[data-type="newUserRestrictions"]').attr('disabled', true);
|
||||
};
|
||||
|
||||
return Module;
|
||||
});
|
||||
|
||||
$('[data-field="toggleUserRestrictions"]').on('click', function() {
|
||||
// code to toggle disable attribute for inputs
|
||||
});
|
||||
Reference in New Issue
Block a user