mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Merge branch 'ent-5746-problema-libreria-de-modulos' into 'develop'
add cache false on functions_module_library See merge request artica/pandorafms!3197
This commit is contained in:
commit
fbd9902dc7
@ -103,6 +103,7 @@ $(document).ready(function() {
|
|||||||
url:
|
url:
|
||||||
"https://pandorafms.com/library/wp-json/wp/v2/categories?per_page=100",
|
"https://pandorafms.com/library/wp-json/wp/v2/categories?per_page=100",
|
||||||
type: "GET",
|
type: "GET",
|
||||||
|
cache: false,
|
||||||
crossDomain: true,
|
crossDomain: true,
|
||||||
contentType: "application/json",
|
contentType: "application/json",
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
@ -136,6 +137,7 @@ $(document).ready(function() {
|
|||||||
url:
|
url:
|
||||||
api_url + search_modules + "&orderby=modified&per_page=9&page=" + page,
|
api_url + search_modules + "&orderby=modified&per_page=9&page=" + page,
|
||||||
type: "GET",
|
type: "GET",
|
||||||
|
cache: false,
|
||||||
crossDomain: true,
|
crossDomain: true,
|
||||||
contentType: "application/json",
|
contentType: "application/json",
|
||||||
beforeSend: function(xhr) {
|
beforeSend: function(xhr) {
|
||||||
@ -238,6 +240,7 @@ function library_main() {
|
|||||||
$.ajax({
|
$.ajax({
|
||||||
url: "https://pandorafms.com/library/wp-json/wp/v2/pages/121",
|
url: "https://pandorafms.com/library/wp-json/wp/v2/pages/121",
|
||||||
type: "GET",
|
type: "GET",
|
||||||
|
cache: false,
|
||||||
crossDomain: true,
|
crossDomain: true,
|
||||||
contentType: "application/json",
|
contentType: "application/json",
|
||||||
beforeSend: function(xhr) {
|
beforeSend: function(xhr) {
|
||||||
@ -313,6 +316,7 @@ function get_category(id) {
|
|||||||
$.ajax({
|
$.ajax({
|
||||||
url: "https://pandorafms.com/library/wp-json/wp/v2/categories/" + id,
|
url: "https://pandorafms.com/library/wp-json/wp/v2/categories/" + id,
|
||||||
type: "GET",
|
type: "GET",
|
||||||
|
cache: false,
|
||||||
contentType: "application/json",
|
contentType: "application/json",
|
||||||
success: function(response) {
|
success: function(response) {
|
||||||
$("#category_title_result h2").append(
|
$("#category_title_result h2").append(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user