Author: eallen
Date: 2010-04-26 16:16:39 -0400 (Mon, 26 Apr 2010)
New Revision: 3936
Modified:
mgmt/newdata/cumin/resources/incrementalSearch.js
Log:
Make the incremental search dropdown the same size as the associated edit field
Modified: mgmt/newdata/cumin/resources/incrementalSearch.js
===================================================================
--- mgmt/newdata/cumin/resources/incrementalSearch.js 2010-04-26 20:16:10 UTC (rev 3935)
+++ mgmt/newdata/cumin/resources/incrementalSearch.js 2010-04-26 20:16:39 UTC (rev 3936)
@@ -37,7 +37,7 @@
p.hide = function(){
var thisObject = this, d = document, s = (thisObject.c &&
thisObject.c.parentNode.removeChild(thisObject.c),
thisObject.c = d.body.appendChild(d.createElement("div"))).style;
- //thisObject.c.width = thisObject.input.offsetwidth + "px";
+ thisObject.c.style.width = thisObject.input.offsetWidth + "px";
thisObject.l = [], thisObject.i = -1, thisObject.c.className =
thisObject.className, s.position = "absolute", s.display = "none";
thisObject._old = null, thisObject.visible &&
(thisObject._callEvent("onhide"), --thisObject.visible);
};
Show replies by date