[ZBX-6718] Placeholders don't work in IE9 Created: 2013 Jun 18  Updated: 2017 May 30  Resolved: 2013 Jun 20

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.7rc1, 2.1.0
Fix Version/s: 2.1.0

Type: Incident report Priority: Minor
Reporter: Pavels Jelisejevs (Inactive) Assignee: Ivo Kurzemnieks
Resolution: Fixed Votes: 0
Labels: frontend, usability
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Placeholders in text input fields (for example new macro fields, multiselect inputs etc.) don't work in IE9.



 Comments   
Comment by Ivo Kurzemnieks [ 2013 Jun 18 ]

Seems like jquery prop() is buggy. For IE9 it returns undefined, but attr() works fine. I read a bit that attr() is recommended or for placeholders there is a nice script placeholder polyfill, which is lightweight, standalone and doesn't require any additional libraries.

Note on simulated IEs: Using IE10 with simulated IE9 and IE8, works fine. Using IE9 with simulated IE8, produces a JS error "SCRIPT3: Member not found. jsLoader.php?ver=2.1.0&lang=en_GB&showGuiMessaging=1, line 158 character 7". Probably this isn't an issue.

RESOLVED in svn://svn.zabbix.com/branches/dev/ZBX-6718

Comment by Eduards Samersovs (Inactive) [ 2013 Jun 20 ]

(1) Placeholders not work in MultiSelect for IE9. Need also replace prop() to attr()

iivs RESOLVED in r36484
Eduards CLOSED

Comment by Eduards Samersovs (Inactive) [ 2013 Jun 20 ]

Tested!

Comment by Ivo Kurzemnieks [ 2013 Jun 20 ]

Fixed in pre-2.1.0 (trunk) r36488

Generated at Fri Apr 26 05:26:45 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.