add variationIndex
This commit is contained in:
parent
1ed88734b4
commit
7eb00857b5
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in a new issue