Clean code
This commit is contained in:
parent
d15c303590
commit
66b0f253b6
@ -316,7 +316,7 @@ class DolEditor
|
|||||||
jQuery(".buttonforacesave").click(function() {
|
jQuery(".buttonforacesave").click(function() {
|
||||||
console.log("We click on savefile button for component '.$this->htmlname.'");
|
console.log("We click on savefile button for component '.$this->htmlname.'");
|
||||||
var aceEditor = window.ace.edit("'.$this->htmlname.'aceeditorid")
|
var aceEditor = window.ace.edit("'.$this->htmlname.'aceeditorid")
|
||||||
console.log(aceEditor.getSession().getValue());
|
//console.log(aceEditor.getSession().getValue());
|
||||||
jQuery("#'.$this->htmlname.'").val(aceEditor.getSession().getValue());
|
jQuery("#'.$this->htmlname.'").val(aceEditor.getSession().getValue());
|
||||||
/*if (jQuery("#'.$this->htmlname.'").html().length > 0) return true;
|
/*if (jQuery("#'.$this->htmlname.'").html().length > 0) return true;
|
||||||
else return false;*/
|
else return false;*/
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user