Cherry-picked 7a48d5 and 10f031 from 2.1.x branch to master
This commit is contained in:
parent
c08fe78355
commit
e2d8543020
@ -4,6 +4,9 @@ Changelog
|
|||||||
2.2.4 (unreleased)
|
2.2.4 (unreleased)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
- Check for 'checked' attribute in a way that work also for jQuery 1.7
|
||||||
|
[ichimdav]
|
||||||
|
|
||||||
- Better fix for #13037 by removing submit event trigger altogether
|
- Better fix for #13037 by removing submit event trigger altogether
|
||||||
[ichimdav]
|
[ichimdav]
|
||||||
|
|
||||||
|
@ -103,7 +103,7 @@
|
|||||||
$("input,select").live("change", function (e) {
|
$("input,select").live("change", function (e) {
|
||||||
var id = $(this).attr("id");
|
var id = $(this).attr("id");
|
||||||
if (id === "form-widgets-globally_enabled-0") {
|
if (id === "form-widgets-globally_enabled-0") {
|
||||||
if ($(this).attr("checked") === true) {
|
if ($(this).attr("checked")) {
|
||||||
$("#content").addClass("globally_enabled");
|
$("#content").addClass("globally_enabled");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user