mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
Fixed info error ISSUE #252
This commit is contained in:
parent
c230e3db2d
commit
0810915f2c
1 changed files with 6 additions and 2 deletions
|
@ -96,7 +96,9 @@ function Ace2Editor()
|
|||
});
|
||||
editor.setEditable = pendingInit(function(newVal)
|
||||
{
|
||||
info.ace_setEditable(newVal);
|
||||
//window.console.log("yaya");
|
||||
//window.console.log(newVal);
|
||||
//info.ace_setEditable(newVal);
|
||||
});
|
||||
editor.getFormattedCode = function()
|
||||
{
|
||||
|
@ -117,7 +119,9 @@ function Ace2Editor()
|
|||
|
||||
editor.setProperty = pendingInit(function(key, value)
|
||||
{
|
||||
info.ace_setProperty(key, value);
|
||||
if (info){
|
||||
info.ace_setProperty(key, value);
|
||||
}
|
||||
});
|
||||
editor.getDebugProperty = function(prop)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue