Revision: 902
http://openutils.svn.sourceforge.net/openutils/?rev=902&view=rev
Author: fgiust
Date: 2008-07-29 07:57:30 +0000 (Tue, 29 Jul 2008)
Log Message:
-----------
missing combobox js
Added Paths:
-----------
trunk/openutils-mgnlcontrols/src/main/resources/mgnl-resources/controls/js/PipeComboBox.js
Added: trunk/openutils-mgnlcontrols/src/main/resources/mgnl-resources/controls/js/PipeComboBox.js
===================================================================
--- trunk/openutils-mgnlcontrols/src/main/resources/mgnl-resources/controls/js/PipeComboBox.js (rev 0)
+++ trunk/openutils-mgnlcontrols/src/main/resources/mgnl-resources/controls/js/PipeComboBox.js 2008-07-29 07:57:30 UTC (rev 902)
@@ -0,0 +1,12 @@
+var PipeComboBox = Ext.extend(Ext.form.ComboBox, {
+
+ getValue: function() {
+ var v = PipeComboBox.superclass.getValue.call(this);
+ return this.lastSelectionText + '|' + v;
+ },
+
+ findRecord : function(prop, value) {
+ return PipeComboBox.superclass.findRecord.call(this, prop, value.replace(/^.*\|(.*)$/, '$1'));
+ }
+
+});
Property changes on: trunk/openutils-mgnlcontrols/src/main/resources/mgnl-resources/controls/js/PipeComboBox.js
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:keywords
+ Author Date Id Revision
Added: svn:eol-style
+ native
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|