Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Issue: ModalPopupExtender on FireFox incorrectly sets zIndex. [27202]

$
0
0
Bug # 12426 was closed but the bug remains.

Didn't know how to reopen that bug report, but the details I left there remain.

http://ajaxcontroltoolkit.codeplex.com/workitem/12426

I opened the source code for version 60623, then opened the file ModalPopupBehavior.js. The original bug report identifies this line of code as the problem:
this._foregroundElement.style.zIndex = $common.getCurrentStyle(this._backgroundElement, 'zIndex', this._backgroundElement.style.zIndex) + 1;
FireFox returns a string from $common.getCurrentStyle(). If you add 1 to that string, you create a string combining the result ("10001") instead of an integer. FireFox does not support the string for zIndex.
The fix is to enclose $common.getCurrentStyle in parseInt().
This bug has been around for a LONG time, and impacts my customers who place my web controls on the ModalPopupExtender.


Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>