Bonsoir.
Un souci signalé en son temps sans résolution à ce jour.
Matériel : Rpi3B+, Jeedom 4062, Jeemate apk 089+13.
Plugin: pour Debug fonction le message d’erreur suivant sur toutes les commandes (en cause ligne 19 d’un fichier).
Ci-dessous donc le message d’erreur et à la suite le fichier concerné.
D’où mon interrogation: s’agit il d’une anomalie
- inhérente à Jeemate ?
- relève t elle du core Jeedom ?
- autre (navigateur chromium … ) ?
Et surtout y a t il une rectification possible ?
Fichier Ligne Message
https://www.xxxxxxx.dyndns.org/core/php/getResource.php?file=plugins/jeemate/desktop/js/jeeDebug.js&md5=b6d716d2eabeb05c3ee82fc7c274078d&lang=fr_FR 19 Uncaught TypeError: $.clearDivContent is not a function
https://www.xxxxxxx.dyndns.org/core/php/getResource.php?file=plugins/jeemate/desktop/js/jeeDebug.js&md5=b6d716d2eabeb05c3ee82fc7c274078d&lang=fr_FR 19 Uncaught TypeError: $.clearDivContent is not a function
https://www.xxxxxxx.dyndns.org/core/php/getResource.php?file=plugins/jeemate/desktop/js/jeeDebug.js&md5=b6d716d2eabeb05c3ee82fc7c274078d&lang=fr_FR 19 Uncaught TypeError: $.clearDivContent is not a function
https://www.xxxxxxx.dyndns.org/core/php/getResource.php?file=plugins/jeemate/desktop/js/jeeDebug.js&md5=b6d716d2eabeb05c3ee82fc7c274078d&lang=fr_FR 19 Uncaught TypeError: $.clearDivContent is not a function
https://www.xxxxxxx.dyndns.org/core/php/getResource.php?file=plugins/jeemate/desktop/js/jeeDebug.js&md5=b6d716d2eabeb05c3ee82fc7c274078d&lang=fr_FR 19 Uncaught TypeError: $.clearDivContent is not a function
https://www.xxxxxxx.dyndns.org/core/php/getResource.php?file=plugins/jeemate/desktop/js/jeeDebug.js&md5=b6d716d2eabeb05c3ee82fc7c274078d&lang=fr_FR 19 Uncaught TypeError: $.clearDivContent is not a function
https://www.xxxxxxx.dyndns.org/core/php/getResource.php?file=plugins/jeemate/desktop/js/jeeDebug.js&md5=b6d716d2eabeb05c3ee82fc7c274078d&lang=fr_FR 19 Uncaught TypeError: $.clearDivContent is not a function
FICHIER
/* This file is part of Jeedom.
*
* Jeedom is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Jeedom is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Jeedom. If not, see <http://www.gnu.org/licenses/>.
*/
let json = null;
$(".li_fun").on('click', function() {
$.clearDivContent('pre_globalfun')
$(".li_fun").removeClass('active')
$(this).addClass('active')
let display = $('#pre_globalfun');
var jee_data = {function:$(this).attr('data-fun')};
$.ajax({
type: "POST",
url: "plugins/jeemate/core/ajax/jeemate.ajax.php",
data: {
action: "jeeDebug",
data: jee_data
},
dataType: 'json',
error: function (request, status, error) {
handleAjaxError(request, status, error);
},
success: function (data) {
let object = data.result.object;
json = data.result.json;
const str = JSON.stringify(object, null, 4);
display.html(str)
},
});
})
$('#bt_resetFunFilterSearch').on('click', function () {
$('#in_searchFunFilter').val('').keyup()
})
$('#bt_resetGlobalFunSearch').on('click', function () {
$('#in_searchGlobalFun').val('').keyup()
})
$('#bt_downloadFun').click(function() {
const blob = new Blob([json], {
type: "text/plain;charset=utf-8"
});
const file = $('#ul_object').find('li.active').attr('data-fun');
saveAs(blob, file+".json");
})
$(function() {
$('#div_displayFunList .li_fun').first().trigger('click')
})