diff options
author | Egil Moeller <egil.moller@freecode.no> | 2012-04-09 16:22:09 +0200 |
---|---|---|
committer | Egil Moeller <egil.moller@freecode.no> | 2012-04-17 22:32:46 +0200 |
commit | 3a62c6d2aba101563adb048746b339057f1eb459 (patch) | |
tree | 23c5928797cf844f71a2b85e69840ed4fe91b60e /src/static/js/ace2_inner.js | |
parent | 7cf4510bf545927edead70931befb7d62ca5863c (diff) | |
download | etherpad-lite-3a62c6d2aba101563adb048746b339057f1eb459.zip |
Bugfix for this being wrong in editorInfo.ace_performDocumentApplyAttributesToRange
Diffstat (limited to 'src/static/js/ace2_inner.js')
-rw-r--r-- | src/static/js/ace2_inner.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/static/js/ace2_inner.js b/src/static/js/ace2_inner.js index b61c50e3..6e5f07bc 100644 --- a/src/static/js/ace2_inner.js +++ b/src/static/js/ace2_inner.js @@ -5401,7 +5401,9 @@ function Ace2Inner(){ // Init documentAttributeManager documentAttributeManager = new AttributeManager(rep, performDocumentApplyChangeset); - editorInfo.ace_performDocumentApplyAttributesToRange = documentAttributeManager.setAttributesOnRange; + editorInfo.ace_performDocumentApplyAttributesToRange = function () { + return documentAttributeManager.setAttributesOnRange.apply(documentAttributeManager, arguments); + }; $(document).ready(function(){ doc = document; // defined as a var in scope outside |