Four Js Development Tools Forum

Discussions by product => GAS and GBC => Topic started by: . on January 21, 2014, 04:33:27 pm



Title: Known layout issue with Chrome 32.0 version on GAS AJAX mode
Post by: . on January 21, 2014, 04:33:27 pm
Hi all,

Since the 32.0 version of Chrome browser, you may get some layout issues with GAS AJAX mode on this browser.
We don't yet clearly explain this behavior change with Chrome but here is the fix.


In FGLASDIR/tpl/SetAjax/main.xhtml, add the two following lines:

gwc:define=" ...
    isIpad contains(document/request/header['user-agent'], 'iPad');
   ua document/request/header['user-agent'];
    chromeVer indexOf(ua, 'Chrome/') != -1 ? round(substring(ua, 7+indexOf(ua, 'Chrome/'), 4)) : 0;
"

And in FGLASDIR/tpl/SetAjax/GridLayout.xhtml, change:
<td gwc:condition="l/cells/length == 0"/><td gwc:condition="isIe8">&#8205;</td>

into:
<td gwc:condition="l/cells/length == 0"/><td gwc:condition="isIe8 || chromeVer &gt; 31">&#8205;</td>


Don't hesitate to contact your support center if you have any question or need help to apply the fix.

Best regards,
Guney - Four Js Support Team


Title: Re: Known layout issue with Chrome 32.0 version on GAS AJAX mode
Post by: . on January 29, 2014, 04:43:19 pm
Hi,

For people who want to see the issue occur, attached is a test case reproducing the problem. In fact, this sample is the standard FGL demo you can see in UserInterface -> Layout program.
By the way, the issue isn't specific to a particular version of GAS AJAX mode.

Regards,
Guney