struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r528327 - in /struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo: struts_dojo.js struts_dojo.js.uncompressed.js
Date Fri, 13 Apr 2007 02:41:44 GMT
Author: musachy
Date: Thu Apr 12 19:41:43 2007
New Revision: 528327

URL: http://svn.apache.org/viewvc?view=rev&rev=528327
Log:
Rename startSearchFromInput to match Dojo's _startSearchFromInput

Modified:
    struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js
    struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js

Modified: struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js?view=diff&rev=528327&r1=528326&r2=528327
==============================================================================
--- struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js
(original)
+++ struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js
Thu Apr 12 19:41:43 2007
@@ -15058,19 +15058,19 @@
 }
 },log:function(text){
 dojo.debug("["+(this.widgetId?this.widgetId:"unknown")+"] "+text);
-},startSearchFromInput:function(){
+},_startSearchFromInput:function(){
 var _c8d=this.textInputNode.value;
 if(this.loadOnType){
 if(_c8d.length>=this.loadMinimum){
 var _c8e=this.dataUrl+(this.dataUrl.indexOf("?")>-1?"&":"?");
 _c8e+=this.name+"="+_c8d;
 this.dataProvider.getData(_c8e);
-this.startSearch(_c8d);
+this._startSearch(_c8d);
 }else{
 this._hideResultList();
 }
 }else{
-this.startSearch(_c8d);
+this._startSearch(_c8d);
 }
 }});
 dojo.provide("dojo.widget.DropdownContainer");

Modified: struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js?view=diff&rev=528327&r1=528326&r2=528327
==============================================================================
--- struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js
(original)
+++ struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js
Thu Apr 12 19:41:43 2007
@@ -24437,20 +24437,20 @@
     dojo.debug("[" + (this.widgetId ? this.widgetId : "unknown")  + "] " + text);
   },
 
-  startSearchFromInput: function() {
+  _startSearchFromInput: function() {
     var searchStr = this.textInputNode.value;
     if(this.loadOnType) {
-    	if(searchStr.length >= this.loadMinimum) {
-    	    var nuHref = this.dataUrl + (this.dataUrl.indexOf("?") > -1 ? "&" : "?");
-   		nuHref += this.name + '=' + searchStr;
-   		this.dataProvider.getData(nuHref);
-   		this.startSearch(searchStr);
-    	} else {
-           this._hideResultList();
-        }
+      if(searchStr.length >= this.loadMinimum) {
+          var nuHref = this.dataUrl + (this.dataUrl.indexOf("?") > -1 ? "&" : "?");
+      nuHref += this.name + '=' + searchStr;
+      this.dataProvider.getData(nuHref);
+      this._startSearch(searchStr);
+      } else {
+        this._hideResultList();
+      }
     }
     else {
-	  this.startSearch(searchStr);
+	  this._startSearch(searchStr);
 	}
   }
 });



Mime
View raw message