mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 22:56:37 -04:00
frontend: use camelCase instead of snake_case
This commit is contained in:
@ -42,7 +42,7 @@
|
||||
}
|
||||
|
||||
global.buttonDisable("#add-site-button");
|
||||
global.post(global.commento_origin + "/api/domain/new", json, function(resp) {
|
||||
global.post(global.commentoOrigin + "/api/domain/new", json, function(resp) {
|
||||
global.buttonEnable("#add-site-button");
|
||||
|
||||
$("#new-domain-name").val("");
|
||||
@ -69,7 +69,7 @@
|
||||
session: global.cookieGet("session"),
|
||||
};
|
||||
|
||||
global.post(global.commento_origin + "/api/domain/list", json, function(resp) {
|
||||
global.post(global.commentoOrigin + "/api/domain/list", json, function(resp) {
|
||||
if (!resp.success) {
|
||||
global.globalErrorShow(resp.message);
|
||||
return;
|
||||
@ -111,7 +111,7 @@
|
||||
domain: domain,
|
||||
};
|
||||
|
||||
global.post(global.commento_origin + "/api/domain/update", json, function(resp) {
|
||||
global.post(global.commentoOrigin + "/api/domain/update", json, function(resp) {
|
||||
if (callback !== undefined)
|
||||
callback(resp.success);
|
||||
|
||||
@ -130,7 +130,7 @@
|
||||
domain: domain,
|
||||
};
|
||||
|
||||
global.post(global.commento_origin + "/api/domain/delete", json, function(resp) {
|
||||
global.post(global.commentoOrigin + "/api/domain/delete", json, function(resp) {
|
||||
if (!resp.success) {
|
||||
global.globalErrorShow(resp.message);
|
||||
return;
|
||||
|
Reference in New Issue
Block a user