Revert r46820 as it causes some widgets (tag list) problems.

Fix select account changing selectbox default instead.
This commit is contained in:
Nathan Gray
2014-05-06 19:56:02 +00:00
parent 013062aa00
commit b76ace01f5
3 changed files with 3 additions and 5 deletions

View File

@ -124,9 +124,7 @@ var ClassWithAttributes = Class.extend(
_default = undefined;
}
// Use extend() to avoid a reference to default.
// Widget might change it, and alter the default
_attrs[key] = typeof _default == "object" ? jQuery.extend(true,{},_default) : _default;
attrs[key] = _default;
}
}