[primefaces] r12463 committed - Focus should skip inputs with no name attribute.

0 views
Skip to first unread message

prime...@googlecode.com

unread,
Apr 10, 2015, 10:11:53 AM4/10/15
to primeface...@googlegroups.com
Revision: 12463
Author: sinca...@gmail.com
Date: Fri Apr 10 14:11:34 2015 UTC
Log: Focus should skip inputs with no name attribute.
https://code.google.com/p/primefaces/source/detail?r=12463

Modified:

/primefaces/trunk/src/main/resources/META-INF/resources/primefaces/core/core.js

=======================================
---
/primefaces/trunk/src/main/resources/META-INF/resources/primefaces/core/core.js
Mon Mar 30 13:04:54 2015 UTC
+++
/primefaces/trunk/src/main/resources/META-INF/resources/primefaces/core/core.js
Fri Apr 10 14:11:34 2015 UTC
@@ -365,7 +365,7 @@
},

focus : function(id, context) {
- var selector
= ':not(:submit):not(:button):input:visible:enabled';
+ var selector
= ':not(:submit):not(:button):input:visible:enabled[name]';

setTimeout(function() {
if(id) {
Reply all
Reply to author
Forward
0 new messages