Author: abelevich
Date: 2010-10-14 06:11:23 -0400 (Thu, 14 Oct 2010)
New Revision: 19566
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inplaceSelect.js
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/popupList.js
Log:
remove interface declaration
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inplaceSelect.js
===================================================================
---
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inplaceSelect.js 2010-10-14
09:58:10 UTC (rev 19565)
+++
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/inplaceSelect.js 2010-10-14
10:11:23 UTC (rev 19566)
@@ -110,6 +110,7 @@
case rf.KEYS.RETURN:
e.preventDefault();
this.select.__selectCurrent();
+ this.__setInputFocus();
return false;
break;
}
Modified:
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/popupList.js
===================================================================
---
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/popupList.js 2010-10-14
09:58:10 UTC (rev 19565)
+++
trunk/ui/input/ui/src/main/resources/META-INF/resources/org.richfaces/popupList.js 2010-10-14
10:11:23 UTC (rev 19566)
@@ -2,14 +2,6 @@
rf.ui = rf.ui || {};
- var INTERFACE = {
- SelectListener : {
- processItem: function(item){},
- selectItem: function(item){},
- unselectItem: function(item){}
- }
- };
-
rf.ui.PopupList = function(id, listener, options) {
$super.constructor.call(this, id, options);
this.selectListener = listener;
@@ -29,7 +21,6 @@
name : "popupList",
-
processItem: function(item) {
if(this.selectListener.processItem && typeof
this.selectListener.processItem == 'function') {
this.selectListener.processItem(item);
Show replies by date