1
0
mirror of synced 2024-11-22 21:16:10 +03:00

consistent containid for better integration with form validation.

This commit is contained in:
TedLiang 2012-08-18 15:32:28 +10:00
parent c65355edee
commit 881d2fabd3

View File

@ -559,7 +559,7 @@
this.enabled=true;
this.container = this.createContainer();
this.containerId="s2id"+nextUid();
this.containerId="s2id_"+(opts.element.attr("id") || "autogen"+nextUid());
this.container.attr("id", this.containerId);
// cache the body so future lookups are cheap