Set long operation mask for plugins actions (action.id is string).

This commit is contained in:
Julia Radzhabova 2018-02-05 12:22:03 +03:00
parent 6913e85504
commit 42e4481776
6 changed files with 35 additions and 0 deletions

View file

@ -754,6 +754,12 @@ define([
title = this.loadingDocumentTitleText;
text = this.loadingDocumentTextText;
break;
default:
if (typeof action.id == 'string'){
title = action.id;
text = action.id;
}
break;
}
if (action.type == Asc.c_oAscAsyncActionType['BlockInteraction']) {

View file

@ -442,6 +442,12 @@ define([
title = me.loadingDocumentTitleText;
text = me.loadingDocumentTextText;
break;
default:
if (typeof action.id == 'string'){
title = action.id;
text = action.id;
}
break;
}
if (action.type == Asc.c_oAscAsyncActionType['BlockInteraction']) {

View file

@ -540,6 +540,12 @@ define([
title = this.loadingDocumentTitleText;
text = this.loadingDocumentTextText;
break;
default:
if (typeof action.id == 'string'){
title = action.id;
text = action.id;
}
break;
}
if (action.type == Asc.c_oAscAsyncActionType['BlockInteraction']) {

View file

@ -425,6 +425,12 @@ define([
title = me.loadingDocumentTitleText;
text = me.loadingDocumentTextText;
break;
default:
if (typeof action.id == 'string'){
title = action.id;
text = action.id;
}
break;
}
if (action.type == Asc.c_oAscAsyncActionType['BlockInteraction']) {

View file

@ -557,6 +557,11 @@ define([
case LoadingDocument:
title = this.loadingDocumentTitleText;
break;
default:
if (typeof action.id == 'string'){
title = action.id;
}
break;
}
if (action.type == Asc.c_oAscAsyncActionType.BlockInteraction) {

View file

@ -440,6 +440,12 @@ define([
title = me.loadingDocumentTitleText;
text = me.loadingDocumentTextText;
break;
default:
if (typeof action.id == 'string'){
title = action.id;
text = action.id;
}
break;
}
if (action.type == Asc.c_oAscAsyncActionType.BlockInteraction) {