Commit 7eb00857 authored by Oleg Korshul's avatar Oleg Korshul

add variationIndex

parent 1ed88734
......@@ -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