jiapeng 8 years ago
parent
commit
f1cbf7cd87
1 changed files with 1 additions and 2 deletions
  1. 1 2
      js/typeahead.js

+ 1 - 2
js/typeahead.js

@ -10,6 +10,7 @@ $.use(["jQuery", "form", "doc", "util", "dropdown", "code"], function($, form, d
10 10
			this.keyPressInterval = 500;
11 11
			this.caption = "";
12 12
			this.autoselect = true;
13
			this.ajaxCfg={mask:false};
13 14
		};
14 15
	typeahead.prototype = defCfg = {};
15 16

@ -146,9 +147,7 @@ $.use(["jQuery", "form", "doc", "util", "dropdown", "code"], function($, form, d
146 147
	};
147 148
	defCfg.lookup = function(event) {
148 149
		var self = this;
149
		console.log("lookup")
150 150
		self.query = self.ve.val();
151

152 151
		if(!self.query || self.query.length < self.minLength) {
153 152
			return self.shown ? self.hide() : self
154 153
		}