Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
two grids on one page: modal overlay not hiding on close
27/07/2009
00:59
Avatar
Alex Pakka
New Member
Members
Forum Posts: 2
Member Since:
27/07/2009
sp_UserOfflineSmall Offline

This bug is present in 3.5beta as well as in GitHub as of Jully 27th.

1. Put any two unrelated grids on the same page with all default navGrid options tunred on (common situation e.g. if using grid with jquery UI tabs)

2. On a second grid click on delete button without selecting a row

3. Close warning via cross icon on a modal dialog -> modal overlay stays in place, preventing further work

Preliminary investigation: hideModal() is called with options from the first grid, therefore /jQuery(".jqgrid-overlay:first",o.gb).hide();/ is hiding the wrong overlay, as o.gb is pointing to the first grid.

For now I changed this line to jQuery(".jqgrid-overlay").hide(); since in my situation no two overlays can be visible at the same time. It might not be true for many others.

Cancelling the dialog with edit form works flawlessly, but I couldn't see any easy way to re-use the closing behaviour.

Alex

P.S. Tony, you did amazing and very professional job! Thanks a lot for allowing my current project to even exist.

27/07/2009
01:58
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello Alex.

Thanks for this. It is really a bug and happen only when jqModal is not present.

Just now I have fixed this in GitHub. Could you please try with this fix and let me known if all is Ok.

Best Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

27/07/2009
02:16
Avatar
Alex Pakka
New Member
Members
Forum Posts: 2
Member Since:
27/07/2009
sp_UserOfflineSmall Offline

Thank you, Tony!

Your fix works. That was really fast!

Respectfully,

Alex

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
49 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

OlegK: 1255

markw65: 179

kobruleht: 144

phicarre: 132

YamilBracho: 124

Renso: 118

Member Stats:

Guest Posters: 447

Members: 11373

Moderators: 2

Admins: 1

Forum Stats:

Groups: 1

Forums: 8

Topics: 10592

Posts: 31289

Newest Members:

, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information