Permalink
Browse files

Merge pull request #2074 from webzwo0i/fix-disconnect-on-new-changes-…

…in-padinitialization

don't call ace_getInInternationalComposition if editor is not fully load...
  • Loading branch information...
marcelklehr committed Feb 26, 2014
2 parents 8b572b8 + 3f31445 commit af50001769b6e129a7d5f4248508f17753f5e49d
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/static/js/ace.js
View
@@ -124,6 +124,7 @@ function Ace2Editor()
editor.getInInternationalComposition = function()
{
+ if (!loaded) return false;
return info.ace_getInInternationalComposition();
};

0 comments on commit af50001

Please sign in to comment.