Forum: Ruby on Rails IE issues

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
maxguzenski (Guest)
on 2007-05-27 04:03
(Received via mailing list)
HI,
I released my project as LGPL:
http://rubyforge.org/projects/financasonrails/

So, It works great with Firefox but with IE visual_effects isn't
working correctly! Does anyone know why?

demo site: http://demos.guzenski.com.br/for/categories
lanzm (Guest)
on 2007-05-28 14:46
(Received via mailing list)
could you explain what does not work ?
Tiago M. (Guest)
on 2007-05-28 15:06
(Received via mailing list)
This issue doesn't appear to be related to the library itself but to the
DOM elements you're updating. IE has serious limitations on this. For
instance you can't add an option to a <select>, you have to update the
entire select element.

Most likely you're doing an update that IE won't allow.

Tiago M.
maxguzenski (Guest)
on 2007-05-28 23:33
(Received via mailing list)
Thre visual_effects.

Everytime that I insert a new data, the line into list shows highlight
effect. But only is working on FF

Everytime that I delete a row in list it shows FADE effect, but it is
only working on FF
dima (Guest)
on 2007-05-29 00:15
(Received via mailing list)
It seams that you have a problem with AJAX update on a table id="list"
element.
I take a look in a FireBug addin for FF and I have two table id =
"list" elements.

-----
<table id="list" class="tablelist"><table id="list" class="tablelist">
    <thead class="tableheader">
        <th align="left">Tipo</th>
        <th align="left">Categoria</th>
        <th align="right">Quant. Lancamentos</th>
        <th align="right">Balanco</th>
        <th width="40"></th>
    </thead>


    <tbody>

    <tr id="list_category_2">
        <td align="left"> Saída</td>
        <td align="left"> Alimentacao</td>
        <td align="right">0</td>
        <td align="right">0,00</td>
        <td>
            <a href="#" onclick="new Ajax.Request('/for/categories/
edit/2', {asynchronous:true, evalScripts:true}); return false;"><img
alt="Edit" class="icon" src="/for/images/edit.png?1179886883"></a>
            <a href="#" onclick="if (confirm('Tem certeza que deseja
deletar?')) { new Ajax.Request('/for/categories/destroy/2',
{asynchronous:false, evalScripts:true}); }; return false;"><img
alt="Destroy" class="icon" src="/for/images/destroy.png?1179886883"></
a>
        </td>
    </tr>

    <tr id="list_category_7">
        <td align="left"> Saída</td>
        <td align="left"> Esportes</td>
        <td align="right">2</td>
        <td align="right">15,65</td>
        <td>
            <a href="#" onclick="new Ajax.Request('/for/categories/
edit/7', {asynchronous:true, evalScripts:true}); return false;"><img
alt="Edit" class="icon" src="/for/images/edit.png?1179886883"></a>
            <a href="#" onclick="if (confirm('Tem certeza que deseja
deletar?')) { new Ajax.Request('/for/categories/destroy/7',
{asynchronous:false, evalScripts:true}); }; return false;"><img
alt="Destroy" class="icon" src="/for/images/destroy.png?1179886883"></
a>
        </td>
    </tr>

    <tr id="list_category_4">
        <td align="left"> Saída</td>
        <td align="left"> Estudo</td>
        <td align="right">0</td>
        <td align="right">0,00</td>
        <td>
            <a href="#" onclick="new Ajax.Request('/for/categories/
edit/4', {asynchronous:true, evalScripts:true}); return false;"><img
alt="Edit" class="icon" src="/for/images/edit.png?1179886883"></a>
            <a href="#" onclick="if (confirm('Tem certeza que deseja
deletar?')) { new Ajax.Request('/for/categories/destroy/4',
{asynchronous:false, evalScripts:true}); }; return false;"><img
alt="Destroy" class="icon" src="/for/images/destroy.png?1179886883"></
a>
        </td>
    </tr>

    <tr id="list_category_6">
        <td align="left"> Saída</td>
        <td align="left"> asd</td>
        <td align="right">0</td>
        <td align="right">0,00</td>
        <td>
            <a href="#" onclick="new Ajax.Request('/for/categories/
edit/6', {asynchronous:true, evalScripts:true}); return false;"><img
alt="Edit" class="icon" src="/for/images/edit.png?1179886883"></a>
            <a href="#" onclick="if (confirm('Tem certeza que deseja
deletar?')) { new Ajax.Request('/for/categories/destroy/6',
{asynchronous:false, evalScripts:true}); }; return false;"><img
alt="Destroy" class="icon" src="/for/images/destroy.png?1179886883"></
a>
        </td>
    </tr>

</tbody></table>
</table>

I do not think it was you intention.
It seams to work in FF but I don't think so, it just complain less.
maxguzenski (Guest)
on 2007-05-29 01:32
(Received via mailing list)
wow, thanks a lot ... I was using page.replace_html but correct is
page.replace

I didn't know FireBug, I will install it... thanks again
This topic is locked and can not be replied to.