raviene / flexigrid

Automatically exported from code.google.com/p/flexigrid
0 stars 0 forks source link

jQuery 1.3.2 breaks Flexigrid in Chrome 1.0.154.53 & FF3.0.8 #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Update to jQuery 1.3.2
2. Open page in Chrome 1.0.154.53 or FF3.0.8

What is the expected output? What do you see instead?

Chrome initial ajax data doesn't load (paging will correct issue)
FF has ui issues with columns size/short

What version of the product are you using? On what operating system?

Flexigrid for jQuery 1.0b3 & jQuery 1.3.2 (Windows XP)

Please provide any additional information below.

raziel057 has found the jQuery selector bug(?) and provided a solution.

Replace line 1215 in flexigrid.js with the following.(Break up selector)
$('input[name=q]',g.sDiv).keydown(function(e){if(e.keyCode==13) 
g.doSearch()}); 
$('select[name=qtype]',g.sDiv).keydown(function(e){if(e.keyCode==13) 
g.doSearch()});

http://www.nabble.com/jQuery-1.3.2:-error-in-Safari-when-running-a-multi-
selector-query-in--the-context-of-an-element-not-yet-added-to-DOM-
td22210425s27240.html#a22993712  

Original issue reported on code.google.com by trygve.a...@gmail.com on 10 Apr 2009 at 8:33

GoogleCodeExporter commented 8 years ago
Can we have this added to the source and updated?

Original comment by harryhob...@gmail.com on 22 May 2009 at 4:11

GoogleCodeExporter commented 8 years ago
How is the Safari selector bug fix related to either the Chrome AJAX issue or 
the
Firefox column size issue?!

Is there a fix for the column size issue at all? I've recently upgraded a big 
project
to jQuery 1.3.2 to use new plugins, but now Flexigrid looks terrible!

Original comment by robindwi...@gmail.com on 26 May 2009 at 1:23

GoogleCodeExporter commented 8 years ago
If it helps, I had a column size issue in FF until I set flexigrid to decorate a
<table> instead of a <div>, even though I was loading all data via AJAX (JSON). 
$('#results') should always refer to a TABLE element like <table id="results">

Original comment by phillip....@gmail.com on 24 Sep 2009 at 12:16

GoogleCodeExporter commented 8 years ago
Done and applied to trunk (despite bug being fixed in jQuery and browsers)

Original comment by eric.caron on 22 Apr 2011 at 8:39