[Vtigercrm-developers] Adjust Vtiger to RTL languages
rami at active.co.il
Sun Jul 8 05:19:28 PDT 2012
Thanks for your fast answer. I tried it, everything stayed just as it
was before the change (I have also tried to reduce the object width -
also, no effect). Basically we need the 'edit' link to move to the left
side of the table cell.
Thanks a lot,
On 07/05/2012 04:52 PM, Adam Heinz wrote:
> On Thu, Jul 5, 2012 at 8:31 AM, Rami Addady <rami at active.co.il> wrote:
>> Debugging the code has led us to the function findPosX in the file
>> include/js/general.js. I could not change it the way we want, as there
>> is no offsetRight property in an object. Can you help me with this issue?
> If I'm reading this problem correctly, you are trying to find the
> right boundary of the object passed to findPosX? Since the function
> finds the left boundary of the object, we just need to add its width,
> so maybe this?
> - var curleft = 0;
> + var curleft = obj.offsetWidth;
More information about the vtigercrm-developers