Clean log

This commit is contained in:
Laurent Destailleur 2022-03-02 14:44:14 +01:00
parent 72965fdb2e
commit a7cb3fa492

View File

@ -330,7 +330,7 @@ class DolEditor
var aceEditor = window.ace.edit("'.$this->htmlname.'aceeditorid");
if (aceEditor) {
var cursorPos = aceEditor.getCursorPosition();
console.log(cursorPos);
//console.log(cursorPos);
if (cursorPos) {
jQuery("#'.$this->htmlname.'_x").val(cursorPos.column);
jQuery("#'.$this->htmlname.'_y").val(cursorPos.row);
@ -340,6 +340,7 @@ class DolEditor
jQuery("#'.$this->htmlname.'").val(aceEditor.getSession().getValue());
/*if (jQuery("#'.$this->htmlname.'").html().length > 0) return true;
else return false;*/
return true;
} else {
console.log("Failed to retrieve js object ACE from its name");
return false;