Portfolio: Fix select template for post - refs BT#18201

pull/4368/head
Angel Fernando Quiroz Campos 3 years ago
parent b55191596f
commit c83c9a05b5
  1. 2
      main/inc/lib/PortfolioController.php

@ -645,7 +645,7 @@ class PortfolioController
$(\'#add_portfolio_template\').on(\'change\', function () {
$(\'#portfolio-spinner\').show();
$.getJSON(_p.web_ajax + \'portfolio.ajax.php?a=find_template&item=5\').done(function(response) {
$.getJSON(_p.web_ajax + \'portfolio.ajax.php?a=find_template&item=\' + this.value).done(function(response) {
if (CKEDITOR.instances.title) {
CKEDITOR.instances.title.setData(response.title);
} else {

Loading…
Cancel
Save