Commit 1aa0a25c authored by Oleg Korshul's avatar Oleg Korshul Committed by Julia Radzhabova

add variationIndex

parent 35722617
......@@ -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