Commit fa4c6448 authored by Julia Radzhabova's avatar Julia Radzhabova

Merge branch 'develop' of https://github.com/ONLYOFFICE/web-apps into develop

parents cb4f5550 7eb00857
......@@ -193,8 +193,8 @@ define([
this.api.asc_pluginRun(record.get('guid'), 0, '');
},
onPluginShow: function(plugin) {
var variation = plugin.get_Variations()[0];
onPluginShow: function(plugin, variationIndex) {
var variation = plugin.get_Variations()[variationIndex];
if (!variation.get_Visual()) return;
if (variation.get_InsideMode()) {
......
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