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

This commit is contained in:
Julia Radzhabova 2016-06-29 10:31:41 +03:00
commit fa4c644856

View file

@ -193,8 +193,8 @@ define([
this.api.asc_pluginRun(record.get('guid'), 0, ''); this.api.asc_pluginRun(record.get('guid'), 0, '');
}, },
onPluginShow: function(plugin) { onPluginShow: function(plugin, variationIndex) {
var variation = plugin.get_Variations()[0]; var variation = plugin.get_Variations()[variationIndex];
if (!variation.get_Visual()) return; if (!variation.get_Visual()) return;
if (variation.get_InsideMode()) { if (variation.get_InsideMode()) {