1
0
mirror of synced 2024-11-26 23:06:02 +03:00

added support for data-locked=true next to locked=locked attr. fixes #503.

This commit is contained in:
Igor Vaynberg 2013-06-25 21:56:31 -07:00
parent 4969dcb42c
commit 75edea83b2

View File

@ -793,7 +793,7 @@ the specific language governing permissions and limitations under the Apache Lic
element: element.get(), element: element.get(),
css: element.attr("class"), css: element.attr("class"),
disabled: element.prop("disabled"), disabled: element.prop("disabled"),
locked: equal(element.attr("locked"), "locked") locked: equal(element.attr("locked"), "locked") || equal(element.data("locked"), true)
}; };
} else if (element.is("optgroup")) { } else if (element.is("optgroup")) {
return { return {