Commit bf044055 authored by SergeyLuzyanin's avatar SergeyLuzyanin

send correct lang settings

parent c9770d51
...@@ -3738,7 +3738,13 @@ CPresentation.prototype = ...@@ -3738,7 +3738,13 @@ CPresentation.prototype =
}*/ }*/
} }
else{ else{
this.Api.sendEvent("asc_onTextLanguage", this.Get_DefaultLanguage()); if(text_pr){
var lang = text_pr && text_pr.Lang.Val ? text_pr.Lang.Val : this.Get_DefaultLanguage();
this.Api.sendEvent("asc_onTextLanguage", lang);
}
else{
this.Api.sendEvent("asc_onTextLanguage", this.Get_DefaultLanguage());
}
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment