1
0
mirror of synced 2024-11-22 13:06:08 +03:00

fixes #1504 - undo changes made to labels during init

This commit is contained in:
Igor Vaynberg 2013-07-26 23:57:55 -07:00
parent 86fe603082
commit 852784dd3f

View File

@ -1864,6 +1864,13 @@ the specific language governing permissions and limitations under the Apache Lic
this.focusser.focus();
},
// single
destroy: function() {
$("label[for='" + this.focusser.attr('id') + "']")
.attr('for', this.opts.element.attr("id"));
this.parent.destroy.apply(this, arguments);
},
// single
initContainer: function () {
@ -2404,6 +2411,13 @@ the specific language governing permissions and limitations under the Apache Lic
}
},
// multi
destroy: function() {
$("label[for='" + this.search.attr('id') + "']")
.attr('for', this.opts.element.attr("id"));
this.parent.destroy.apply(this, arguments);
},
// multi
initContainer: function () {