Zeile 19 | Zeile 19 |
---|
var checked = $(this).is(':checked'); var checkboxes = $(this).closest('form').find(':checkbox').not('[name="allbox"]');
|
var checked = $(this).is(':checked'); var checkboxes = $(this).closest('form').find(':checkbox').not('[name="allbox"]');
|
checkboxes.change(function() {
| checkboxes.on('change', function() {
|
if(checked && !$(this).prop('checked')) { checked = false;
| if(checked && !$(this).prop('checked')) { checked = false;
|
Zeile 35 | Zeile 35 |
---|
checkboxes.each(function() { if(checked != $(this).is(':checked')) {
|
checkboxes.each(function() { if(checked != $(this).is(':checked')) {
|
$(this).prop('checked', checked).change();
| $(this).prop('checked', checked).trigger('change');
|
} }); }
| } }); }
|
Zeile 46 | Zeile 46 |
---|
var initialfocus = $(".initial_focus"); if(initialfocus.length) {
|
var initialfocus = $(".initial_focus"); if(initialfocus.length) {
|
initialfocus.focus();
| initialfocus.trigger('focus');
|
}
if(typeof(use_xmlhttprequest) != "undefined" && use_xmlhttprequest == 1)
| }
if(typeof(use_xmlhttprequest) != "undefined" && use_xmlhttprequest == 1)
|
Zeile 57 | Zeile 57 |
---|
var element = $(this); if(element.hasClass('forum_off') || element.hasClass('forum_offclose') || element.hasClass('forum_offlink') || element.hasClass('subforum_minioff') || element.hasClass('subforum_minioffclose') || element.hasClass('subforum_miniofflink') || (element.attr("title") && element.attr("title") == lang.no_new_posts)) return;
|
var element = $(this); if(element.hasClass('forum_off') || element.hasClass('forum_offclose') || element.hasClass('forum_offlink') || element.hasClass('subforum_minioff') || element.hasClass('subforum_minioffclose') || element.hasClass('subforum_miniofflink') || (element.attr("title") && element.attr("title") == lang.no_new_posts)) return;
|
element.click(function()
| element.on('click', function()
|
{ MyBB.markForumRead(this); });
| { MyBB.markForumRead(this); });
|
Zeile 77 | Zeile 77 |
---|
$("body").css("overflow", "hidden"); if(initialfocus.length > 0) {
|
$("body").css("overflow", "hidden"); if(initialfocus.length > 0) {
|
initialfocus.focus();
| initialfocus.trigger('focus');
|
} });
| } });
|
Zeile 86 | Zeile 86 |
---|
}); }
|
}); }
|
$("a.referralLink").click(MyBB.showReferrals);
| $("a.referralLink").on('click', MyBB.showReferrals);
|
if($('.author_avatar').length) {
| if($('.author_avatar').length) {
|
Zeile 122 | Zeile 122 |
---|
var modal = $(html); modal.modal($.extend(defaults, options)); var buttons = modal.find('.modal_buttons > .button');
|
var modal = $(html); modal.modal($.extend(defaults, options)); var buttons = modal.find('.modal_buttons > .button');
|
buttons.click(function(e)
| buttons.on('click', function(e)
|
{ e.preventDefault(); var index = $(this).index();
| { e.preventDefault(); var index = $(this).index();
|
Zeile 136 | Zeile 136 |
---|
{ modal.on($.modal.OPEN, function() {
|
{ modal.on($.modal.OPEN, function() {
|
buttons[0].focus();
| $(buttons[0]).trigger('focus');
|
}); }
| }); }
|
Zeile 200 | Zeile 200 |
---|
);
$("body").append(form);
|
);
$("body").append(form);
|
form.submit();
| form.trigger('submit');
|
} } });
| } } });
|
Zeile 279 | Zeile 279 |
---|
);
$("body").append(form);
|
);
$("body").append(form);
|
form.submit();
| form.trigger('submit');
|
} } });
| } } });
|
Zeile 392 | Zeile 392 |
---|
{ return false; }
|
{ return false; }
|
form.submit();
| form.trigger('submit');
|
},
changeTheme: function()
| },
changeTheme: function()
|
Zeile 402 | Zeile 402 |
---|
{ return false; }
|
{ return false; }
|
form.submit();
| form.trigger('submit');
|
},
detectDSTChange: function(timezone_with_dst)
| },
detectDSTChange: function(timezone_with_dst)
|
Zeile 437 | Zeile 437 |
---|
);
$("body").append(form);
|
);
$("body").append(form);
|
form.submit();
| form.trigger('submit');
|
} } });
| } } });
|
Zeile 654 | Zeile 654 |
---|
return; }
|
return; }
|
expander.click(function()
| expander.on('click', function()
|
{ controls = expander.attr("id").replace("_img", ""); expandables.expandCollapse(this, controls);
| { controls = expander.attr("id").replace("_img", ""); expandables.expandCollapse(this, controls);
|