Vergleich jscripts/general.js - 1.8.20 - 1.8.21

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 19Zeile 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 35Zeile 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 46Zeile 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 57Zeile 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 77Zeile 77
				$("body").css("overflow", "hidden");
if(initialfocus.length > 0)
{

				$("body").css("overflow", "hidden");
if(initialfocus.length > 0)
{

					initialfocus.focus();

					initialfocus.trigger('focus');

				}
});


				}
});


Zeile 86Zeile 86
			});
}


			});
}


		$("a.referralLink").click(MyBB.showReferrals);

		$("a.referralLink").on('click', MyBB.showReferrals);


if($('.author_avatar').length)
{


if($('.author_avatar').length)
{

Zeile 122Zeile 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 136Zeile 136
		{
modal.on($.modal.OPEN, function()
{

		{
modal.on($.modal.OPEN, function()
{

				buttons[0].focus();

				$(buttons[0]).trigger('focus');

			});
}


			});
}


Zeile 200Zeile 200
					);

$("body").append(form);

					);

$("body").append(form);

					form.submit();

					form.trigger('submit');

				}
}
});

				}
}
});

Zeile 279Zeile 279
					);

$("body").append(form);

					);

$("body").append(form);

					form.submit();

					form.trigger('submit');

				}
}
});

				}
}
});

Zeile 392Zeile 392
		{
return false;
}

		{
return false;
}

		form.submit();

		form.trigger('submit');

	},

changeTheme: function()

	},

changeTheme: function()

Zeile 402Zeile 402
		{
return false;
}

		{
return false;
}

		form.submit();

		form.trigger('submit');

	},

detectDSTChange: function(timezone_with_dst)

	},

detectDSTChange: function(timezone_with_dst)

Zeile 437Zeile 437
						);

$("body").append(form);

						);

$("body").append(form);

						form.submit();

						form.trigger('submit');

	                }
}
});

	                }
}
});

Zeile 654Zeile 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);