[Vtigercrm-commits] [vtiger-commits] r10546 - /vtigercrm/branches/5.0.3/include/js/general.js

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Apr 4 03:14:47 EDT 2007


Author: saraj
Date: Wed Apr  4 01:14:41 2007
New Revision: 10546

Log:
fix for Can show the pop in the centre of the window. Fixes #3529 --Minnie

Modified:
    vtigercrm/branches/5.0.3/include/js/general.js

Modified: vtigercrm/branches/5.0.3/include/js/general.js
==============================================================================
--- vtigercrm/branches/5.0.3/include/js/general.js (original)
+++ vtigercrm/branches/5.0.3/include/js/general.js Wed Apr  4 01:14:41 2007
@@ -1390,6 +1390,10 @@
     var topSide = findPosY(obj);
     var maxW = tagName.style.width;
     var widthM = maxW.substring(0,maxW.length-2);
+    if(Lay == 'editdiv') {
+        leftSide = leftSide - 225;
+        topSide = topSide - 125;
+    }
     var getVal = eval(leftSide) + eval(widthM);
     if(getVal  > document.body.clientWidth ){
         leftSide = eval(leftSide) - eval(widthM);





More information about the vtigercrm-commits mailing list