mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 12:59:39 -07:00
Fixed #241
This commit is contained in:
parent
02ef2902c8
commit
bebc7d524f
1 changed files with 4 additions and 4 deletions
|
@ -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) {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue