Permalink
Browse files

Typo error

  • Loading branch information...
1 parent 14737f0 commit 6981e27d223bdf9ba02e0dafc6860af911eef468 @cdujeu cdujeu committed Sep 23, 2016
Showing with 3 additions and 1 deletion.
  1. +3 −1 core/src/plugins/gui.ajax/res/js/ui/prototype/class.Modal.js
@@ -746,7 +746,8 @@ Class.create("Modal", {
this.tempoMessageDivClosing();
},
- computeMessageBoxPosition(container){
+ computeMessageBoxPosition: function(container){
+
var dim = container.getDimensions();
if(!container.visible()) dim = {width:0, height: 0};
while((!dim.width || !dim.height) && container.parentNode){
@@ -762,6 +763,7 @@ Class.create("Modal", {
var boxWidth = parseInt(dim.width * 90/100);
var leftPosition = offset[0] + parseInt(dim.width*5/100);
return {left: leftPosition, width: boxWidth};
+
},
/**

0 comments on commit 6981e27

Please sign in to comment.