consistent containid for better integration with form validation.
This commit is contained in:
parent
c65355edee
commit
881d2fabd3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user