Set long operation mask for plugins actions (action.id is string).
This commit is contained in:
parent
6913e85504
commit
42e4481776
|
@ -754,6 +754,12 @@ define([
|
||||||
title = this.loadingDocumentTitleText;
|
title = this.loadingDocumentTitleText;
|
||||||
text = this.loadingDocumentTextText;
|
text = this.loadingDocumentTextText;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
if (typeof action.id == 'string'){
|
||||||
|
title = action.id;
|
||||||
|
text = action.id;
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (action.type == Asc.c_oAscAsyncActionType['BlockInteraction']) {
|
if (action.type == Asc.c_oAscAsyncActionType['BlockInteraction']) {
|
||||||
|
|
|
@ -442,6 +442,12 @@ define([
|
||||||
title = me.loadingDocumentTitleText;
|
title = me.loadingDocumentTitleText;
|
||||||
text = me.loadingDocumentTextText;
|
text = me.loadingDocumentTextText;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
if (typeof action.id == 'string'){
|
||||||
|
title = action.id;
|
||||||
|
text = action.id;
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (action.type == Asc.c_oAscAsyncActionType['BlockInteraction']) {
|
if (action.type == Asc.c_oAscAsyncActionType['BlockInteraction']) {
|
||||||
|
|
|
@ -540,6 +540,12 @@ define([
|
||||||
title = this.loadingDocumentTitleText;
|
title = this.loadingDocumentTitleText;
|
||||||
text = this.loadingDocumentTextText;
|
text = this.loadingDocumentTextText;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
if (typeof action.id == 'string'){
|
||||||
|
title = action.id;
|
||||||
|
text = action.id;
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (action.type == Asc.c_oAscAsyncActionType['BlockInteraction']) {
|
if (action.type == Asc.c_oAscAsyncActionType['BlockInteraction']) {
|
||||||
|
|
|
@ -425,6 +425,12 @@ define([
|
||||||
title = me.loadingDocumentTitleText;
|
title = me.loadingDocumentTitleText;
|
||||||
text = me.loadingDocumentTextText;
|
text = me.loadingDocumentTextText;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
if (typeof action.id == 'string'){
|
||||||
|
title = action.id;
|
||||||
|
text = action.id;
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (action.type == Asc.c_oAscAsyncActionType['BlockInteraction']) {
|
if (action.type == Asc.c_oAscAsyncActionType['BlockInteraction']) {
|
||||||
|
|
|
@ -557,6 +557,11 @@ define([
|
||||||
case LoadingDocument:
|
case LoadingDocument:
|
||||||
title = this.loadingDocumentTitleText;
|
title = this.loadingDocumentTitleText;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
if (typeof action.id == 'string'){
|
||||||
|
title = action.id;
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (action.type == Asc.c_oAscAsyncActionType.BlockInteraction) {
|
if (action.type == Asc.c_oAscAsyncActionType.BlockInteraction) {
|
||||||
|
|
|
@ -440,6 +440,12 @@ define([
|
||||||
title = me.loadingDocumentTitleText;
|
title = me.loadingDocumentTitleText;
|
||||||
text = me.loadingDocumentTextText;
|
text = me.loadingDocumentTextText;
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
if (typeof action.id == 'string'){
|
||||||
|
title = action.id;
|
||||||
|
text = action.id;
|
||||||
|
}
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (action.type == Asc.c_oAscAsyncActionType.BlockInteraction) {
|
if (action.type == Asc.c_oAscAsyncActionType.BlockInteraction) {
|
||||||
|
|
Loading…
Reference in a new issue