Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Typo error
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Sep 23, 2016
1 parent 14737f0 commit 6981e27
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/plugins/gui.ajax/res/js/ui/prototype/class.Modal.js
Expand Up @@ -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){
Expand All @@ -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};

},

/**
Expand Down

0 comments on commit 6981e27

Please sign in to comment.