dwzteam / dwz_jui

jUI
http://jui.org
Other
470 stars 263 forks source link

关于主从表增加记录的一个BUG修正 #90

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.dwz.database.js,252行:
 $tbody.find("a.btnDel").click(function(){
                    var $btnDel = $(this);

                    if ($btnDel.is("[href^=javascript:]")){
                        $btnDel.parents("tr:first").remove();
                        initSuffix($tbody);
                        return false;
                    }
其中:if ($btnDel.is("[href^=javascript:]"))
的IE8执行出错,应该更改为if ($btnDel.is("[href^='javascript:']"))

Original issue reported on code.google.com by 880...@gmail.com on 17 Mar 2013 at 4:02