Fix bug (special paste)
This commit is contained in:
parent
9143a576de
commit
3375421cb7
|
@ -614,6 +614,7 @@ define([
|
||||||
var coord = specialPasteShowOptions.asc_getCellCoord(),
|
var coord = specialPasteShowOptions.asc_getCellCoord(),
|
||||||
pasteContainer = me.cmpEl.find('#special-paste-container'),
|
pasteContainer = me.cmpEl.find('#special-paste-container'),
|
||||||
pasteItems = specialPasteShowOptions.asc_getOptions();
|
pasteItems = specialPasteShowOptions.asc_getOptions();
|
||||||
|
if (!pasteItems) return;
|
||||||
|
|
||||||
// Prepare menu container
|
// Prepare menu container
|
||||||
if (pasteContainer.length < 1) {
|
if (pasteContainer.length < 1) {
|
||||||
|
|
|
@ -1508,6 +1508,7 @@ define([
|
||||||
var coord = specialPasteShowOptions.asc_getCellCoord(),
|
var coord = specialPasteShowOptions.asc_getCellCoord(),
|
||||||
pasteContainer = me.cmpEl.find('#special-paste-container'),
|
pasteContainer = me.cmpEl.find('#special-paste-container'),
|
||||||
pasteItems = specialPasteShowOptions.asc_getOptions();
|
pasteItems = specialPasteShowOptions.asc_getOptions();
|
||||||
|
if (!pasteItems) return;
|
||||||
|
|
||||||
// Prepare menu container
|
// Prepare menu container
|
||||||
if (pasteContainer.length < 1) {
|
if (pasteContainer.length < 1) {
|
||||||
|
|
|
@ -1959,6 +1959,7 @@ define([
|
||||||
coord = specialPasteShowOptions.asc_getCellCoord(),
|
coord = specialPasteShowOptions.asc_getCellCoord(),
|
||||||
pasteContainer = documentHolderView.cmpEl.find('#special-paste-container'),
|
pasteContainer = documentHolderView.cmpEl.find('#special-paste-container'),
|
||||||
pasteItems = specialPasteShowOptions.asc_getOptions();
|
pasteItems = specialPasteShowOptions.asc_getOptions();
|
||||||
|
if (!pasteItems) return;
|
||||||
|
|
||||||
// Prepare menu container
|
// Prepare menu container
|
||||||
if (pasteContainer.length < 1) {
|
if (pasteContainer.length < 1) {
|
||||||
|
|
Loading…
Reference in a new issue