Replace a reference to @container.id with @container_id

abstract-chosen
pfiller 2011-07-26 14:27:44 -04:00
parent f89783e6f9
commit 49c7d2e0f6
2 changed files with 2 additions and 2 deletions

View File

@ -188,7 +188,7 @@
return this.search_field.focus(); return this.search_field.focus();
}; };
Chosen.prototype.test_active_click = function(evt) { Chosen.prototype.test_active_click = function(evt) {
if (evt.target.up('#' + this.container.id)) { if (evt.target.up('#' + this.container_id)) {
return this.active_field = true; return this.active_field = true;
} else { } else {
return this.close_field(); return this.close_field();

View File

@ -164,7 +164,7 @@ class Chosen
test_active_click: (evt) -> test_active_click: (evt) ->
if evt.target.up('#' + @container.id) if evt.target.up('#' + @container_id)
@active_field = true @active_field = true
else else
this.close_field() this.close_field()