|
|
@ -122,11 +122,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
$('#requestToken').click(function (e) {
|
|
|
|
$('#requestToken').click(function (e) {
|
|
|
|
e.preventDefault();
|
|
|
|
e.preventDefault();
|
|
|
|
var url = createBaseUrl(base, "admin/requestauth");
|
|
|
|
var url = createBaseUrl(base, "requestauth");
|
|
|
|
var $form = $("#mainForm");
|
|
|
|
var $form = $("#mainForm");
|
|
|
|
$.ajax({
|
|
|
|
$.ajax({
|
|
|
|
type: $form.prop("method"),
|
|
|
|
type: $form.prop("method"),
|
|
|
|
url: url,
|
|
|
|
url: "requestauth",
|
|
|
|
data: $form.serialize(),
|
|
|
|
data: $form.serialize(),
|
|
|
|
dataType: "json",
|
|
|
|
dataType: "json",
|
|
|
|
success: function (response) {
|
|
|
|
success: function (response) {
|
|
|
@ -149,11 +149,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
function loadUserList() {
|
|
|
|
function loadUserList() {
|
|
|
|
$('#users').html("");
|
|
|
|
$('#users').html("");
|
|
|
|
var url = "admin/getusers";
|
|
|
|
var url = "getusers";
|
|
|
|
url = createBaseUrl(base, url);
|
|
|
|
url = createBaseUrl(base, url);
|
|
|
|
$.ajax({
|
|
|
|
$.ajax({
|
|
|
|
type: "Get",
|
|
|
|
type: "Get",
|
|
|
|
url: url,
|
|
|
|
url: "getusers"1,
|
|
|
|
dataType: "json",
|
|
|
|
dataType: "json",
|
|
|
|
success: function (response) {
|
|
|
|
success: function (response) {
|
|
|
|
|
|
|
|
|
|
|
|