Limited size of warning window.
This commit is contained in:
parent
7e75a2a226
commit
0c14aeb191
|
@ -313,6 +313,7 @@ define([
|
||||||
if (!old_rights)
|
if (!old_rights)
|
||||||
Common.UI.warning({
|
Common.UI.warning({
|
||||||
title: this.notcriticalErrorTitle,
|
title: this.notcriticalErrorTitle,
|
||||||
|
width: _.isEmpty(data.message) ? 'auto' : 350,
|
||||||
msg : _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message,
|
msg : _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message,
|
||||||
callback: function(){
|
callback: function(){
|
||||||
me._state.lostEditingRights = false;
|
me._state.lostEditingRights = false;
|
||||||
|
|
|
@ -294,6 +294,7 @@ define([
|
||||||
if (!old_rights)
|
if (!old_rights)
|
||||||
Common.UI.warning({
|
Common.UI.warning({
|
||||||
title: this.notcriticalErrorTitle,
|
title: this.notcriticalErrorTitle,
|
||||||
|
width: _.isEmpty(data.message) ? 'auto' : 350,
|
||||||
msg : _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message,
|
msg : _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message,
|
||||||
callback: function(){
|
callback: function(){
|
||||||
me._state.lostEditingRights = false;
|
me._state.lostEditingRights = false;
|
||||||
|
|
|
@ -325,6 +325,7 @@ define([
|
||||||
if (!old_rights)
|
if (!old_rights)
|
||||||
Common.UI.warning({
|
Common.UI.warning({
|
||||||
title: this.notcriticalErrorTitle,
|
title: this.notcriticalErrorTitle,
|
||||||
|
width: _.isEmpty(data.message) ? 'auto' : 350,
|
||||||
msg : _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message,
|
msg : _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message,
|
||||||
callback: function(){
|
callback: function(){
|
||||||
me._state.lostEditingRights = false;
|
me._state.lostEditingRights = false;
|
||||||
|
|
Loading…
Reference in a new issue