Commit 0c14aeb1 authored by Julia Radzhabova's avatar Julia Radzhabova

Limited size of warning window.

parent 7e75a2a2
......@@ -313,6 +313,7 @@ define([
if (!old_rights)
Common.UI.warning({
title: this.notcriticalErrorTitle,
width: _.isEmpty(data.message) ? 'auto' : 350,
msg : _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message,
callback: function(){
me._state.lostEditingRights = false;
......
......@@ -294,6 +294,7 @@ define([
if (!old_rights)
Common.UI.warning({
title: this.notcriticalErrorTitle,
width: _.isEmpty(data.message) ? 'auto' : 350,
msg : _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message,
callback: function(){
me._state.lostEditingRights = false;
......
......@@ -325,6 +325,7 @@ define([
if (!old_rights)
Common.UI.warning({
title: this.notcriticalErrorTitle,
width: _.isEmpty(data.message) ? 'auto' : 350,
msg : _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message,
callback: function(){
me._state.lostEditingRights = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment